This project was generated with Angular CLI version 11.0.2.
- MongoDB
- MongoDB-Tools, for restoring actor dataset dump
- NPM
- Angular CLI (npm install -g @angular/cli)
- Download repo and actor dataset.
- Restore dataset in MongoDB. Use 'ActorExplorer' as database name - if you chose differently remember to change connection string in mongodb-proxy.js.
- Restore npm packages (npm install).
- Run the proxy server (node mongodb-proxy.js).
- Run the angular server (ng serve).
- To run both, with proxy in the backgroud use (node mongodb-proxy.js & ng serve) BUT you will have to kill the proxy on your own.
- Changes in Angular are refresh when you save the file.
- Changes in proxy are refreshed when you restart the app.
Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.
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.
To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.