Quotify Hub is a free and open-source API that provides a vast collection of inspiring quotes. Whether you're developing an application, looking for daily motivation, or working on a creative project, Quotify Hub has you covered!
π Live Website: Quotify Hub
π οΈ API Endpoint: https://quotifyhub.vercel.app/api/random
β Example Response:
{
"id": 1,
"quote": "The only limit to our realization of tomorrow is our doubts of today.",
"author": "Franklin D. Roosevelt",
"category": "Motivation"
}
- π Thousands of curated quotes across various categories.
- π RESTful API for easy integration into web or mobile apps.
- β‘ Fast and reliable with JSON responses.
- π Filter quotes by category or author.
- π Rate-limited API to prevent abuse.
- π‘ Open-source and customizable.
βββ index.html # The main frontend of Quotify Hub
βββ index.js # The backend logic and server setup
βββ quotes.js # The quotes data file
βββ package.json # Project dependencies
βββ vercel.json # Deployment configuration
βββ README.md # Documentation file
To run this project locally, follow these steps:
git clone https://github.com/itz-rj-here/Quotify-Hub.git
cd Quotify-Hub
npm install
npm start
By default, the server will run on http://localhost:3000
Endpoint | Method | Description |
---|---|---|
/random |
GET | Returns a random quote |
/random?category=motivation |
GET | Returns a random quote from a specific category |
/random?limit=10 |
GET | Returns multiple random quotes (limit specified) |
/quotes |
GET | Returns all available quotes |
/quotes?category=motivation |
GET | Fetch quotes from a specific category |
/quotes?limit=10 |
GET | Fetch a limited number of quotes |
/quotes/id/:id |
GET | Fetch a quote by its ID |
This project was forked and inspired by Quotes-API. The original author of this repository is Ritu Raj Pratap Singh.
This project is licensed under the MIT License, meaning you can freely use, modify, and distribute it. See the LICENSE file for details.
Contributions are welcome! If youβd like to improve this project, feel free to:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Make your changes and commit (
git commit -m "Added a new feature"
). - Push your changes (
git push origin feature-branch
). - Open a Pull Request.
π» GitHub: Quotify Hub Repo
π§ Contact: Open an issue in the GitHub repo for support.
π If you like this project, don't forget to β the repository!
Happy coding! π