-
Install your dependencies
yarn
-
To start the projects run:
yarn start
This will start both the frontend
and backend
projects in parallel.
You can access the frontend on http://localhost:4001
and the backend on http://localhost:3001
NOTE: In order to access the web app from the Node.js server, you need to build the frontend app first with yarn build
.
-
To build the projects run:
yarn build
-
To run the tests run:
yarn test
-
There is no support for authentication or a database that stores the user password. We use hardcoded ones for the sake of simplicity.
-
When the backend is being deployed we have to copy the frontend build contents into the static folder, otherwise the Cloud Function cannot detect it, as it's only aware of its adjacent files and folders. Ideally the frontend app is hosted separately from the backend.
-
Not enough frontend tests are written to cover all the edge cases.
-
CI/CD is missing test/lint steps.