express-angular-starter
Stack
- Express
- Angular 1.5 (John Papa Styleguide)
- Gulp
- Babel
- Sequalize
- ACL
- Mocha
- Karma
Prerequisites
Make sure you have installed all of the following prerequisites on your development machine:
- Git - Download & Install Git. OSX and Linux machines typically have this already installed.
- Node.js - Download & Install Node.js and the npm package manager. If you encounter any problems, you can also use this GitHub Gist to install Node.js.
- Postgres
- Yarn Download & Install Yarn
- Gulp
- Bower
$ npm install -g bower gulp-cli
Create postgres user
createuser --pwprompt postgres
postgres
postgres
Create database
createdb mean_relational
Quick Install
To install the dependencies, run this in the application folder from the command-line:
$ yarn
$ bower install
Running The Application
Run your application using npm:
$ gulp serve-dev
Running in Production mode
To run your application with production environment configuration, execute grunt as follows:
$ gulp build
$ gulp serve-build
Testing Your Application
You can run the test suite:
$ gulp test
$ gulp server-tests
Linter
You can run the linter:
$ gulp vet