When it was built between 1951 and 1954, the QNS&L connected the port of Sept-Îles on the north shore of the St. Lawrence River with the northern terminus at IOC's mining community of Schefferville, Quebec, a distance of 359 miles .