Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/peppapig13132/express-mongodb-nodejs
- Owner: peppapig13132
- License: mit
- Created: 2024-01-18T07:52:17.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-07-16T11:21:42.000Z (5 months ago)
- Last Synced: 2024-07-16T14:04:25.077Z (5 months ago)
- Topics: express, expressjs, mongodb, mongoose, node
- Language: JavaScript
- Homepage:
- Size: 40 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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