Skip to content

Demonstration project on how to develop and run angular project with NodeJS project

Notifications You must be signed in to change notification settings

ccyang314/angular-nodejs-example

 
 

Repository files navigation

Local development workflow

  1. Install dependency by running npm install in both project root directory and /ui-server.

  2. Navigate to project root directory, and run npm run dev. This will starts the API and UI dist proxy server on port 8080.

  3. Navigate to /ui-server directory, and run npm start. This will starts the UI server on port 4200.

  4. Open localhost:4200 on broswer and start dev on it.

Google Cloud App Engine deployment workflow

  1. Navigate to /ui-server directory, and run ng build. This will build lastest UI server output to /ui-server/dist

  2. Navigate to project root diectory, and run gcloud app deploy.

Reference

https://medium.com/bb-tutorials-and-thoughts/how-to-develop-and-build-angular-app-with-nodejs-e24c40444421

About

Demonstration project on how to develop and run angular project with NodeJS project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 73.5%
  • JavaScript 15.7%
  • HTML 9.4%
  • CSS 1.4%