https://github.com/neha9849/quotes-api
https://github.com/neha9849/quotes-api
express nodejs rest-api
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/neha9849/quotes-api
- Owner: Neha9849
- Created: 2021-11-17T15:44:37.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-17T18:35:31.000Z (over 4 years ago)
- Last Synced: 2025-03-06T02:45:00.641Z (over 1 year ago)
- Topics: express, nodejs, rest-api
- Language: JavaScript
- Homepage:
- Size: 1.18 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Quotes API
This is a REST API which allows you to do CRUD operations on quotes.
## Setup
1. Install the dependencies
```
npm install
```
2. Run the server
```
npm start
```
## Endpoints
* Get all quotes : `GET /quotes`
* Create quote : `POST /quotes`
* Get quote by id : `GET /quotes/:id`
* Delete quote by id : `DELETE /quotes/:id`
* Update quote by id : `PATCH /quotes/:id`