A MEAN Stack application deployed to Heroku, and uses mLab for cloud mongo db. App can be viewed from here
application relies on angular, install all packages. angular must be installed globally to use 'ng'
npm i
run application front end with angular ng. Must be in the frontend folder, ./frontend/ Default port is '4200'http://localhost:4200
ng serve
or using npm
npm run start
- list
- create
- edit
Backend uses node.js, mongoose schema and transpiles with babel.
npm i
- babel for es6 transpiling
- express server
- mongoose for mongodb(mlab)
- babel-watch
run the server with babel watching for development. Default port is '4000'http://localhost:4000
npm run dev
uses babel to build a distribution folder with transpiled files to be deployed to heroku for live.
npm run start
HTTP VERB | URL | DESCRIPTION | SAMPLE RESPONSE |
---|---|---|---|
GET | /api/v1/issues | get all issues | [{}] |
App is setup with automatic deployment pipeline through Heroku
git push origin deploy