hashmeet-api-mongodb

Stars
0

HashMeet Api ( MongoDB )

How to setup

Project structure

src
├── __tests__                                # All our test cases reside here.
│   └── server.spec.js
├── config                                   # Houses all the secrets, ports, strings, urls & other configs for dev, prod and testing environment.
│   ├── dev.js
│   ├── index.js
│   ├── prod.js
│   └── testing.js
├── resources                                # This is our main directory where all the resources reside in a modular way.
│   ├── blog
│   |   └── __tests__                        # Tests related to the blog resource stays here. 
│   |   |    └── blog.router.spec.js
│   |   ├── blog.controller.js
│   |   ├── blog.model.js
│   |   └── blog.router.js
│   ├── challenges
│   |   └── __tests__
│   |   |    └── challenges.router.spec.js   
│   |   ├── challenges.controller.js
│   |   ├── challenges.model.js
│   |   └── challenges.router.js
│   ├── projects
│   |   └── __tests__
│   |   |    └── projects.router.spec.js     
│   |   ├── projects.controller.js
│   |   ├── projects.model.js
│   |   └── projects.router.js
|   ├── utils
|   |   └── __tests__
│   |   |   ├── auth.spec.js
│   |   |   └── crud.spec.js
│   |   ├── auth.js
│   |   ├── crud.js
│   ├── └── db.js
├── index.js                                 # Kicks off the server.
└── server.js                                # The root server file.