This project is a starter project with Node at the backend (fully written in TypeScript) and Angular 6 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.
- Angular 6.1.6
- Bootstrap
- Lazy Loaded Routes
- Angular Material
- PWA Ready
- Server Side TypeScript
- Node.js Express API written in TypeScript
- Production Ready Build
- Established Dev Environment
- Server Side Rendering (Angular Universal)
After cloning, run npm install
Run npm run start
to spin front end code,
Run npm run dev
to start the Node server in development mode
Navigate to http://localhost:3015/
.
You can now seamlessly watch your changes reflect in realtime everytime you save your changes.
Run ng g c component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run npm run build:prerender && npm run serve:ssr
to build the project
Compiles the boiler application and spins up a Node Express to serve the Boiler Universal application on http://localhost:3015
npm run build:prerender && npm run serve:prerender
- Compiles your application and prerenders your application's files, spinning up a demo http-server so you can view it on http://localhost:8080 Note: To deploy your static site to a static hosting platform you will have to deploy the dist/browser folder, rather than the usual dist
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 always welcome.