Galaxy formation with BECDM - II. Cosmic filaments and first galaxies