All Projects → lionphilips → node-rest-api-scaffold

lionphilips / node-rest-api-scaffold

Licence: Apache-2.0 License
This project is an initial NodeJS Rest API scaffold for developers

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to node-rest-api-scaffold

node-express-mongo-passport-jwt-typescript
A Node.js back end web application with REST API, user JWT authentication and MongoDB data storage using TypeScript
Stars: ✭ 51 (+112.5%)
Mutual labels:  mongoose, node-js, jwt-authentication, express-js
Focus Budget Manager
Budget Manager application built with Vue.js, Node.js, Express.js and MongoDB
Stars: ✭ 189 (+687.5%)
Mutual labels:  mongoose, node-js, express-js
BotBlock.org
BotBlock - The List of Discord Bot Lists and Services
Stars: ✭ 29 (+20.83%)
Mutual labels:  node-js, express-js, mocha-tests
Backend-NodeJS-Golang-Interview QA
A collection of Node JS and Golang Backend interview questions please feel free to fork and contribute to this repository
Stars: ✭ 122 (+408.33%)
Mutual labels:  mongoose, node-js, express-js
express-boilerplate
ExpressJS boilerplate with Socket.IO, Mongoose for scalable projects.
Stars: ✭ 83 (+245.83%)
Mutual labels:  mongoose, node-js, express-js
express-mvc-generator
Express' Model View Controller Application Generator.
Stars: ✭ 46 (+91.67%)
Mutual labels:  mongoose, node-js, express-js
Registration-and-Login-using-MERN-stack
Simple Registration and Login component with MERN stack
Stars: ✭ 210 (+775%)
Mutual labels:  mongoose, node-js, express-js
react-nodejs-mongodb-crud
👨‍💻 Fullstack web app built with MongoDB, NodeJs, React and Redux. Features: Protected routes client/server side, MaterialUI layout
Stars: ✭ 91 (+279.17%)
Mutual labels:  mongoose, jwt-authentication
ExpressJS-SocketIO-Boilerplate
📦 Simple Express.js & Socket.io Boilerplate
Stars: ✭ 31 (+29.17%)
Mutual labels:  node-js, express-js
BEW-1.3-Server-Side-Architectures-and-Frameworks
🔐 Build on knowledge of Resourceful and RESTful patterns and dive deep into the Node and Express ecosystem.
Stars: ✭ 19 (-20.83%)
Mutual labels:  mongoose, jwt-authentication
babyfoot
Simple CQRS/ES Node+Express+TypeScript REST API
Stars: ✭ 14 (-41.67%)
Mutual labels:  node-js, express-js
reddit-clone
A reddit clone written using node.js / express.js / mongodb / passport.js. https://seiya-beddit.herokuapp.com/
Stars: ✭ 84 (+250%)
Mutual labels:  node-js, express-js
node-js-jwt-auth
Node.js Demo for Token Based Authentication (JWT) with MySQL database
Stars: ✭ 161 (+570.83%)
Mutual labels:  node-js, jwt-authentication
Becoditive-API
The official API of beCoditive with many endpoints like memes, animals, image manipulation, url shortner, etc.
Stars: ✭ 14 (-41.67%)
Mutual labels:  mongoose, node-js
node-mongodb-graphql-starter
A boilerplate for Node.js, MongoDB & GraphQL applications.
Stars: ✭ 56 (+133.33%)
Mutual labels:  mongoose, jwt-authentication
TODO-List-Tech-Module
TODO List (in C#, Java, JS and PHP) - Exam Preparation for the Tech Module @ SoftUni (August 2017)
Stars: ✭ 13 (-45.83%)
Mutual labels:  node-js, express-js
MERN-BUS-APP
This is a MFRP (My first Real Project) assigned to me during my internship at Cognizant. Made with MERN Stack technology.
Stars: ✭ 92 (+283.33%)
Mutual labels:  node-js, express-js
mongoose-field-encryption
A simple symmetric encryption plugin for individual fields. Dependency free, only mongoose peer dependency.
Stars: ✭ 47 (+95.83%)
Mutual labels:  mongoose, node-js
zuly
🤖 | Hi, I'm zuly, a brazilian bot! Focused on animes!
Stars: ✭ 45 (+87.5%)
Mutual labels:  mongoose, node-js
NodeScalableArchitecture
A Scalable Node Architecture/Server. This repository contains a complete implementation of writing scalable nodejs server/architecture on my medium blog.
Stars: ✭ 62 (+158.33%)
Mutual labels:  mongoose, jwt-authentication

node-rest-api-scaffold

This project has the intention to help developers to build your REST API fastly. The main modules of any application are made, like Authentication, Models, Controllers, Repositories, Routes, Services, etc. You just need to make a simple configuration and run!

Code Strucutre

  • doc/
  • src/
    • controllers/
    • models/
    • repositories/
    • routes/
    • services/
    • validators/
    • app.js
    • config.js
  • test/
    • config
  • www/

Tech

This scaffold uses a number of open source projects to work properly:

  • Node.js - evented I/O for the backend
  • Express - fast node.js network app framework
  • Mongoose - elegant mongodb object modeling for node.js
  • JWT Auth - JsonWebToken implementation for node.js
  • Sengrid - Allows to quickly and easily send emails through SendGrid using nodejs.
  • apiDoc - Inline Documentation for RESTful web APIs
  • Mocha - simple, flexible, fun javascript test framework for node.js

Installation

Requires Node.js (version 8 is recommended).

You need to edit src/config.js and put your configuration variables.

Install the dependencies and devDependencies and start the server.

$ cd node-rest-api-scaffold
$ npm install
$ node www/server

Testing

You need to edit the test config file test/config and run:

$ npm test

Documentation

You can see the API documentation on doc/ folder. If you want to re-generate the documentation, you need to run this comand:

$ apidoc -i src/controllers

Development

Want to contribute? Great! Make a change in your file and instantanously see your updates!

License

Apache-2.0

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].