(feat) added file structure for front end using the latest recommendation
fix error that breaks the app
Merge pull request #6 from baoducng/feat/file-structure-frontend

(feat) fix error that breaks the app