cm0s / mea2n

Angular2-based, Full-Stack application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MEAN Stack (angular2.b8)

####Rewrite of NG1 version to Angular2

Work in progress! A lot of not resolved issues, needed to make it work as designed #6374, #4112

What we've got here

  • Typescript environment.
  • JWT-based authentication (naive, but ready to scale).
  • Server rendering via angular-universal.

Requirements

Quick start

# 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

NOTE!

  1. Register new github application and fill secrets in "config.js" to get github authentication functionality.
  2. Fill sender email data in "config.js" to be able to send reset password emails.

Build

$ gulp build

###Build client bundle:

$ gulp build:client

###Build server bundle:

$ gulp build:server

Serve/watch

Builds all and starts server:

$ gulp

Testing

  • $ gulp test
  • $ gulp test:client
  • $ gulp test:server
  • $ gulp test:e2e

About

Angular2-based, Full-Stack application


Languages

Language:TypeScript 71.4%Language:HTML 14.8%Language:JavaScript 11.0%Language:CSS 2.9%