Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/naandalist/node-rest-api
The REST API using Node.js with Cloudinary
https://github.com/naandalist/node-rest-api
Last synced: 4 days ago
JSON representation
The REST API using Node.js with Cloudinary
- Host: GitHub
- URL: https://github.com/naandalist/node-rest-api
- Owner: Naandalist
- License: mit
- Created: 2022-11-17T14:33:01.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-18T03:49:35.000Z (about 2 years ago)
- Last Synced: 2024-11-08T04:41:19.338Z (about 2 months ago)
- Language: JavaScript
- Size: 48.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple Node REST API
> CRUD REST API using Node.js with MongoDB and cloudinary to store image files.
This is for learning/experimental purposes. Because [Heroku](https://id.heroku.com/) will stop its free service. So I need to find another alternative, just like [Render](https://render.com), [Railway](https://railway.app), or [Cyclic](https://cyclic.sh).
## Usage
```
# Install dependencies
npm install
yarn# Run in develpment
npm run dev
yarn run dev# Run in production
npm start
yarn start
```## Routes
```
POST /api/user
GET /api/users
GET /api/user/:id
PUT /api/user/:id
DELETE /api/user/:id
```
more details at https://documenter.getpostman.com/view/8862893/2s8YmNR3TwFeel free to add to this and create a PR. I plan on creating a better router, but if you'd like to do that, feel free also.