####Rewrite of NG1 version to Angular2
Work in progress! A lot of not resolved issues, needed to make it work as designed #6374, #4112
- Typescript environment.
- JWT-based authentication (naive, but ready to scale).
- Server rendering via angular-universal.
# install globally
npm install --global gulp typescript typings webpack nodemon karma tsd node-gyp
# clone the repo
git clone https://github.com/byavv/mea2n.git
# change into the repo directory
cd mea2n
# install
npm install
bower install
# build app
gulp build
# run in dev mode
gulp
- Register new github application and fill secrets in "config.js" to get github authentication functionality.
- Fill sender email data in "config.js" to be able to send reset password emails.
$ gulp build
###Build client bundle:
$ gulp build:client
###Build server bundle:
$ gulp build:server
Builds all and starts server:
$ gulp
$ gulp test
$ gulp test:client
$ gulp test:server
$ gulp test:e2e