What?
it's a rails-inspired simple starter files and mvc structures for REST api applications using MVC design pattern,with http bearer authentication, login route, and authentication token generator,and Heroku deployment support.
Dependencies:
- NodeJS
- ExpressJS
- SequelizerJS
- Testing: MochaJS, Supertest, ShouldJS
- Authentication: PassportJS, passport-http-bearer Strategy
// clone the repo
git clone [email protected]:mahmoudsultan/expressjs-api-startup-files-sql.git
// clear .git and start over
rm -rf .git && git init
// edit package.json to change project info
// install dependencies
npm install
// run it
npm start
// test it - make sure that's running before testing
npm test
MIT