Skip to content
Random Quotes generator API
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows
node_modules Intial Build May 25, 2019
CONTRIBUTING.md 🔥 All set for HackOctober-Fest Oct 2, 2019
README.md Merge pull request #43 from its-kos/Readme-Fix Oct 15, 2019
index.js 🔥 implemented serach by category feature Oct 6, 2019
package-lock.json Intial Build May 25, 2019
package.json Intial Build May 25, 2019
quotes.db Merge branch 'master' into master Oct 10, 2019

README.md

quotesapi

Random Quotes generator Machine / API

This 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://freequote.herokuapp.com/
  • To Get All Authors : Send Get Request to : https://freequote.herokuapp.com/author
  • To Get Quotes of Specific Author : https://freequote.herokuapp.com/author?authorname
  • To Get All Categories : Send Get Request to : https://freequote.herokuapp.com/categories
  • To Get Quote of Specific Category : https://freequote.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
  • 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.

You can’t perform that action at this time.