Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/peppapig13132/express-mongodb-nodejs

:seedling: Mastering Express.js
https://github.com/peppapig13132/express-mongodb-nodejs

express expressjs mongodb mongoose node

Last synced: about 1 month ago
JSON representation

:seedling: Mastering Express.js

Awesome Lists containing this project

README

        

# Express.js + MongoDB + Node.js

```
project
|—— node_modules
|
|—— src
| |—— config
| | |—— db.config.js
| |
| |—— controllers
| | |—— auth.controller.js
| | |—— user.controller.js
| | |—— post.controller.js
| |
| |—— middleware
| | |—— index.js
| | |—— auth.middleware.js
| |
| |—— models
| | |—— index.js
| | |—— user.model.js
| | |—— post.model.js
| |
| |—— routes
| | |—— routes.js
| | |—— auth.router.js
| | |—— user.router.js
| | |—— post.router.js
| |
| |—— index.js
|
|—— test
| |—— auth.js
| |—— user.js
| |—— post.js
|
|—— .env
|—— .env.example
|—— .gitignore
|—— package-lock.json
|—— package.json
|—— README.md
```

### Run and Test

- Run: `npm run dev`

- Test: `npm run test`

### Install

- Node.js: node-v18.13.0-x64.msi

- MongoDB: mongodb-windows-x86_64-6.0.4-signed.msi