This project shows how we can use Angular CLI project with Nelity Dev.
Install Angular CLI and Zeit Now Globally on the local machine npm install -g @angular/cli netlify-cli
Run netlify dev
for a dev server. Navigate to http://localhost:8888/
. 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 netlify deploy --prod
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.