This project was made following the "Your First App" Tutorial from Angular docs. It implements routing, services, directives, forms and asynchronous HTTP communication.
Run npm install
to install the project dependencies. Start the mock REST API by running json-server --watch db.json
. Then, on another terminal, run ng serve
for a dev server. Navigate to http://localhost:4200/
on your browser and the app will be there.
Before starting the development server, make sure you have json-server
installed globally. You also need Node.js and npm, first and foremost.