This project shows how we can use Angular CLI project with Zeit Now Dev Environemnt. Demo
Install Angular CLI and Zeit Now Globally on the local machine npm install -g @angular/cli now
Run now dev for a dev server. Navigate to http://localhost:3000/. The app will automatically reload if you change any of the source files.
You can create a new file inside the api directory. Then to access the function, you can go to http://localhost:3000/api/{filename}
Run now to deploy the project.
Run ng test to execute the unit tests via Karma.
Run ng e2e to execute the end-to-end tests via Protractor.
