Skip to content

Latest commit

 

History

History
30 lines (16 loc) · 1.1 KB

README.md

File metadata and controls

30 lines (16 loc) · 1.1 KB

NgNowStarter

This project shows how we can use Angular CLI project with Zeit Now Dev Environemnt. Demo

Checkout the tutorial

Going Full Stack with Angular and Zeit Now Dev Serverless

Prereqisites

Install Angular CLI and Zeit Now Globally on the local machine npm install -g @angular/cli now

Development server

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.

API (Serverless Functions)

You can create a new file inside the api directory. Then to access the function, you can go to http://localhost:3000/api/{filename}

Deploy

Run now to deploy the project.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.