Skip to content

This project shows how we can use Angular CLI project with Netlify Dev Environemnt

Notifications You must be signed in to change notification settings

mbaljeetsingh/angular-netlify-dev-starter

Repository files navigation

NgNetlifyStarter

This project shows how we can use Angular CLI project with Nelity Dev.

Checkout the tutorial

Prereqisites

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

Development server

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.

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 netlify deploy --prod 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.

About

This project shows how we can use Angular CLI project with Netlify Dev Environemnt

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published