Skip to content

codefoxes/angular2-hackathon-starter

Repository files navigation

Angular 2 Universal Hackathon Starter

A boilerplate for Server side rendered Angular 2 web applications using TypeScript 2

Note: This project is under active development. However can be used for reference.

Features

  • Server-Side Rendering for Angular 2
  • Express REST Server
  • Mongodb Database
  • Webpack Module loader
  • JWT authentication
  • In-memory Template caching

Installation

  • git clone --depth=1 git@github.com:codefoxes/angular2-hackathon-starter.git a2hs
  • cd a2hs
  • npm i -g cordova ionic
  • npm install
  • npm i -g phonegap (Optional - To use with Phonegap developer app)

Serve

  • npm start to build your client app and start a web server
  • npm run build to prepare a distributable bundle

Development

  • run npm start and npm run watch in two separate terminals to build your client app, start a web server, and allow file changes to update in realtime
  • ionic serve to start ionic server
  • ionic platform add android to prepare android build
  • ionic build android to build android app
  • phonegap serve to serve to Phonegap Developer App

Watch files

  • npm run watch to build your client app and start a web server

Documentation

Design Doc

License

MIT License

About

A boilerplate for Angular2 Universal Express Applications

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published