A sample of edge-on spiral galaxies aimed at a thorough study of the main structural and photometric parameters of edge-on galaxies, both of early- and late-types, is presented. The data were taken from the Two Micron All Sky Survey (2MASS) in the J, H and Ks filters. The sources were selected according to their angular size mainly on the basis of the 2MASS-selected Flat Galaxy Catalog (2MFGC). The sample consists of 175 galaxies in the Ks filter, 169 galaxies in the H filter and 165 galaxies in the J filter. We present bulge and disc decompositions of each galaxy image. All galaxies have been modelled with a Sérsic bulge and exponential disc with the BUDDA v2.1 package. Bulge and disc sizes, profile shapes, surface brightnesses are provided. Our sample is the biggest up-to-date sample of edge-on galaxies with derived structural parameters for discs and bulges. In this paper, we present the general results of the study of this sample. We determine several scaling relations for bulges and discs which indicate