Demo: https://express-angular2.herokuapp.com/
- Angular 2 ( 2.0 final realase )
- Express
- jwt ( JSON Web Tokens )
- ng-semantic ( https://github.com/vladotesanovic/ngSemantic )
- SystemJS ( loader )
git clone https://github.com/vladotesanovic/angular2-express-starter
cd angular2-express-starter
# Install dependencies
npm install
# start server
npm run develop
# Application url: http://localhost:3000
Uncomment in public/index.html:
<script src="assets/js/systemjs.config.js"></script>
<script>
System.import('app').catch(function(err) { console.error(err); });
</script>
Comment out
<!-- Production mod -->
<script src="js/bundle.min.js"></script>