Skip to content

georgesimos/nodejs-mvc-starter

Repository files navigation

nodejs-mvc-starter

MongoDB, Expressjs, Nodejs

GitHub license

Nodejs Starter is a boilerplate for Node.js mvc web applications built with:

  • MongoDB - A document-oriented, No-SQL database used to store the application data.
  • ExpressJS - fast node.js network app framework.
  • nodeJS - A JavaScript runtime built on Chrome's V8 JavaScript engine
  • Authentication with jsonwebtoken

Features

  • Authentication using Email and Password
  • Add / Update / Delete Users

Getting Started

clone the repository

$ git clone https://github.com/georgesimos/nodejs-starter.git myproject
$ cd myproject

Install the dependencies and devDependencies

$ npm install

Set environment variables

cp .env.example .env

Start the server

$ npm start
$ npm run dev # with nodemon live update

Application Structure

app
├── src
│   ├── config
│   │   └── auth.js
│   │   └── mongoose.js
│   ├── controllers
│   │   └── auth.js
│   │   └── users.js
│   ├── models
│   │   └── Users
│   ├── routes
│   │   └── api
│   │    │   └── auth.js
│   │    │   └── users.js
│   │    └── index.js      
└── index.js

Plugins

nodejs-mvc-starter is currently extended with the following plugins. Instructions on how to use them in your own application are linked below.

Server

Plugin README
bcryptjs plugins/bcryptjs/README.md
chalk plugins/chalk/README.md
dotenv plugins/dotenv/README.md
express plugins/express/README.md
express-status-monitor plugins/express-status-monitor/README.md
jsonwebtoken plugins/jsonwebtoken/README.md
mongoose plugins/mongoose/README.md
morgan plugins/morgan/README.md
nodemon plugins/nodemon/README.md

Todos

  • Write Tests

License

MIT

About

Nodejs Starter is a boilerplate for Node.js mvc web applications

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published