Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kachamachkov/crud-api
Simple CRUD app
https://github.com/kachamachkov/crud-api
Last synced: about 2 months ago
JSON representation
Simple CRUD app
- Host: GitHub
- URL: https://github.com/kachamachkov/crud-api
- Owner: kachamachkov
- License: mit
- Created: 2024-08-12T13:21:58.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-13T16:46:02.000Z (5 months ago)
- Last Synced: 2024-08-14T15:29:32.042Z (5 months ago)
- Language: JavaScript
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CRUD-API
RESTful API with full CRUD functionality.## How to install:
Clone the project on your machine and CD into it. Open new terminal and run:
```bash
npm i
npm start
```## Features
* CRUD Operations:
* All requests are sent to /api/products or /api/products/:id
* Supported requests are GET, POST, PUT, DELETE
* Successfull requests are saved within the MongoDB instance connected to the Express API
* Navigate to http://localhost:3000/api/products in your browser to see the list of all products as JSON objects.
* Navigate to http://localhost:3000/api/products/:id to check a single product by a valid id.
* You can test the API with a tool like Postman and send CRUD requests to the product resource URL