Boilerplate code with Angular Universal (server side rendering) & Node server written in TypeScript with express API routes to get started with your project in Angular 8.2 + Node.ts
This project is a starter project with Node at the backend (fully written in TypeScript) and Angular on the client side.
This repo shall allow you to instantly get started with a full stack project in place. Just connect it with your favorite database and you’re good to go.
After cloning, run npm install
Run npm run start
to spin front end code,
Run npm run post-dev
to start the Node server in development mode
Navigate to http://localhost:4200/
.
You can now seamlessly watch your changes reflect in realtime everytime you hit save (Client + Server code).
Run npm run build:prerender
Then npm run serve:ssr
to start the server
This spins up a SSRed Node server on http://localhost:3015
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.
Pull Requests are welcome.