This project was generated with Angular CLI version 9.1.0.
Run ng serve
for a dev server. Navigate to http://localhost:8082/
. The app will automatically reload if you change any of the source files.
Follow these steps to run this app locally
- Create a free mongoose database (https://www.mongodb.com/).
- Create nodemon.json file inside "api" folder with the following environment constants (replace its values with the correct for your environment)
{
"env": {
"MONGO_ATLAS_CONNECTION_STRING": "mongodb+srv://nodeuser:XXXXXXXXX@xxxxxx.mongodb.net/xxxxxxx?w=majority",
"JWT_SECRET": "secret this should be longer"
}
}
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Run ng serve
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
Run npm run startdemon