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

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.

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 👍.