https://github.com/tanwanimohit/quotesapi
Random Quotes generator API
https://github.com/tanwanimohit/quotesapi
nodejs quotes-api
Last synced: 6 months ago
JSON representation
Random Quotes generator API
- Host: GitHub
- URL: https://github.com/tanwanimohit/quotesapi
- Owner: tanwanimohit
- Created: 2019-05-25T14:34:39.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T15:28:55.000Z (almost 3 years ago)
- Last Synced: 2025-04-15T06:14:29.459Z (6 months ago)
- Topics: nodejs, quotes-api
- Language: JavaScript
- Homepage: https://free-quotes-api.herokuapp.com/
- Size: 903 KB
- Stars: 42
- Watchers: 1
- Forks: 67
- Open Issues: 35
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# quotesapi
Random Quotes generator Machine / APIThis is a Random Quoutes Generator API, Developed in Node.js. I am maintaining a json file named `quotes.db` which is working like a database to get the Random Quote.
## How to Use?
- To Get Random Quote : Send Get Request to : `https://free-quotes-api.herokuapp.com/`
- To Get All Authors : Send Get Request to : `https://free-quotes-api.herokuapp.com/author`
- To Get Quotes of Specific Author : `https://free-quotes-api.free-quotes-api.com/author?authorname`
- To Get All Categories : Send Get Request to : `https://free-quotes-api.herokuapp.com/categories`
- To Get Quote of Specific Category : `https://free-quotes-api.herokuapp.com/categoryname`## How to Contribute ?
- Fork the Repo / Download the Repo
**If you want to contribute to the Node.js part then**
- You need to have latest Node.js in your System [Download](https://nodejs.org/en/download/)
- After that just Open the folder and write this.```
node index.js
```
it will be live on `http://localhost:3000`**If you want to Add Quotes**
Than just Add the New quote in json format at the end of `quotes.db`
```
{
"quote": "Be as you wish to seem.",
"author": "Socrates"
}
```Thank you.