-
To do the frontend deployment you need be logged in in Firebase. For this you also need access to the Firebase account.
-
Go to the frontend directory, and install the dependencies.
$ cd apportateen
$ npm install
- Build the project
$ ng build --prod
- Deploy to Firebase
$ firebase deploy
- Go to the API directory and run command.
$ cd apportateen_api
$ nodemon
This will start the API locally
- Go to the frontend directory, and install the dependencies.
$ cd apportateen
$ npm install
3. Now launch the application
``` bash
$ ng serve --open
The ng serve
command launches the server, watches your files, and rebuilds the app as you make changes to those files.
Using the --open
(or just -o
) option will automatically open your browser on http://localhost:4200/.
To stop the app from running locally, in the CLI, press Ctrl
+C
to exit.