Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/el-dringo-brannde/nodejs-server-seed

A seed project that does all the skeleton work for using: NodeJS, HapiJS, and MongoDB to create a backend database
https://github.com/el-dringo-brannde/nodejs-server-seed

backend hapijs mongodb node-js server

Last synced: 17 days ago
JSON representation

A seed project that does all the skeleton work for using: NodeJS, HapiJS, and MongoDB to create a backend database

Awesome Lists containing this project

README

        

# NodeJS-Server-Seed
A seed project that does all the skeleton work for using: NodeJS, HapiJS, and MongoDB to create a backend database

### Description
Everything is more or less componentized:
- The `/models` folder that comprimises of of the functionality that is inheritable to controllers,
logic like doing CRUD operations on the DB.
- The `/components` folders holds all the functionality of creating the controllers, the routes, tests, validators, and utilites tied
to the route needs. This is where most of the work happens.
- `/middleware` is stuff that happens prior to the data coming into the controller, things like authorization, rate limiting, making compatible
queries for the database etc.

### How to use:
1. Fork/clone repository
2. Run: `npm install && npm run dev`