Run npm install
then run npm install json-server -g
json-server .
Run json-server -p 5000 products.json
to build a rest API.
Then run npm start
for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.