Skip to content

vladotesanovic/angular2-express-starter

Folders and files

NameName
Last commit message
Last commit date
Dec 9, 2017
Dec 9, 2017
Dec 9, 2017
Feb 28, 2017
Oct 25, 2016
Oct 25, 2016
May 22, 2016
Nov 7, 2016
Mar 4, 2018
Nov 7, 2016
Dec 9, 2017
Mar 4, 2018
Dec 9, 2017
Dec 9, 2017
Dec 9, 2017
Oct 31, 2016
Dec 9, 2017
Dec 9, 2017

Repository files navigation

Angular4+ Express Starter ( Advanced )

  • Angular 5+
  • ExpressJS ( 4.x - with compression )
  • Webpack ( angular-cli )

Deploy

Concepts

  • Redux ( NgRx/Store - with server calls)
  • Smart & dumb components
  • AOT: Ahead-of-Time compilation
  • Advanced routing ( lazy loading, router outlets...)

Install / Development

git clone https://github.com/vladotesanovic/angular2-express-starter
cd angular2-express-starter

# Install dependencies
npm install

# start server
npm run start

# Client url: http://localhost:4200
# Application ( epxress ) API: http://localhost:4300

Install Redux DevTools chrome extenstion:

https://chrome.google.com/webstore/detail/redux-devtools/lmhkpmbekcpmknklioeibfkpmmfibljd

Build / Production

npm run build

## Deploy dist folder to app server

Structure of dist folder:

/dist/server <-- expressjs
/dist/client <-- angular2

Note

All html and css are from: http://www.w3schools.com/howto/

  • INNOVIC doo
  • Software consulting company for building full stack solutions.
  • Proficient in: NodeJS, TypeScript, Angular, MongoDB...
  • You have project for us? [email protected]