Skip to content

Starter files for a MVC REST api using Nodejs, ExpressJS, and SequelizerJS, with seperation of routes, and models.

Notifications You must be signed in to change notification settings

mahmoudsultan/expressjs-api-startup-files-sql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ExpressJS REST API MVC application Boilerplate

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

Getting Started:

// 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

License

MIT

About

Starter files for a MVC REST api using Nodejs, ExpressJS, and SequelizerJS, with seperation of routes, and models.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published