https://github.com/shajin-sha/express-api-template
Node.js Express rest API templet with Mongodb.
https://github.com/shajin-sha/express-api-template
api express mogodb node templete
Last synced: 3 months ago
JSON representation
Node.js Express rest API templet with Mongodb.
- Host: GitHub
- URL: https://github.com/shajin-sha/express-api-template
- Owner: shajin-sha
- Created: 2022-05-02T10:52:16.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-03T14:27:23.000Z (about 4 years ago)
- Last Synced: 2025-01-08T10:40:47.090Z (over 1 year ago)
- Topics: api, express, mogodb, node, templete
- Language: JavaScript
- Homepage:
- Size: 3.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## `Node.js` `Express` `API` template.
### With following default configuration ✅ -:
- `Mongodb` - [mongoose.](https://www.npmjs.com/package/mongoose)
- Test endpoint - with vs code [Rest clint.](https://marketplace.visualstudio.com/items?itemName=humao.rest-client)
- [`Nodemon`](https://www.npmjs.com/package/nodemon) - reload server on code change.
- Public DIR for storting static files (API-Storage).
- Error - auto configured error massages in json.
### Usage
```bash
$desktop@home> git clone https://github.com/shajin-sha/express-api-template.git
................
$desktop@home> cd backend
$desktop@home\backend> npm install
.............
$desktop@home\backend> npm start
> nodemon ./bin/www
[nodemon] 2.0.16
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): *.*
[nodemon] watching extensions: js,mjs,json
[nodemon] starting `node ./bin/www`
Connected to database.
```
> Good wishes on your new `API` ❤.
> Done by [Shajin](https://www.shajin.me), on May 2022.
> updated on May 2022 👍.