Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/the3dgar/node_express-mongoose


https://github.com/the3dgar/node_express-mongoose

Last synced: about 4 hours ago
JSON representation

Awesome Lists containing this project

README

        

# Node server with mongoose

## Structure:

- config: auth, db conection, jwt, email server, push, ...
- frontend: frontend files, like html, css, js, ... if used framework use bundled files
- middlewares: all the middlewares, like jwt, validations for req.body, ...
- models: typical mongoose schema
- routes: all the routes in our project with a index.js

## for run:

``` npm i ```

and then ``` npm run dev ```