fix(fe,be): add requirements.txt and tweak the FE build process