NotesApp version 0.0.0
This project was generated with Angular CLI version 8.3.19.
NotesApp is a demo note managing app that can be used as an example of working with Angular 8, Angular Material, Angular Animations, Typescript, RxJS and ngrx-data.
Also it includes an API made with ts-node, express and json-server
NotesApp is based on Ngrx (with NgRx Data) - The Complete Guide ourse from Angular University (https://angular-university.io/course/ngrx-course)
We recommend installing Node 12. These are some tutorials to install node in different operating systems:
To easily switch between node versions on your machine, we recommend using a node virtual environment tool such as nave or nvm-windows, depending on your operating system.
For example, here is how you switch to a new node version using nave:
# note that you don't even need to update your node version before installing nave
npm install -g nave
nave use 12.3.1
node -v
v12.3.1
# Installing the Angular CLI
With the following command the angular-cli will be installed globally in your machine:
npm install -g @angular/cli
We can install the master branch using the following commands:
git clone https://github.com/vtsitlak/notes-app.git
Install the modules as usual using npm:
cd notes-app
npm install
This should take a couple of minutes. If there are issues, please post the complete error message in the Questions section of the course.
We can start the sample application backend with the following command:
npm run server
This is a small Node REST API server.
To run the frontend part of our code, we will use the Angular CLI:
npm start
The application is visible at port 4200: http://localhost:4200
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 test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.