Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/el-dringo-brannde/nodejs-server-seed
- Owner: El-Dringo-Brannde
- Created: 2018-01-06T02:36:00.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-22T08:56:58.000Z (almost 2 years ago)
- Last Synced: 2024-10-09T19:38:24.925Z (29 days ago)
- Topics: backend, hapijs, mongodb, node-js, server
- Language: JavaScript
- Homepage:
- Size: 353 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
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`