/random-quotes-api

A REST API that built with PostgreSQL

Primary LanguagePythonMIT LicenseMIT

Random Quotes API

This is a simple API that returns random motivational quotes which is written in FastAPI. And the all quotes are stored in PostgreSQL database. If someone wants to use this API, they can use it for their projects. Feel free to use it.

Endpoints

  • /get - Get all quotes
  • /quote/{id} - Get quote by id
  • /post - Add quote
  • -/rmquote/{id} - Remove quote by id
  • /update/{id} - Update quote by id

If you want to add more endpoints, you can add them in the code.

License

This project is licensed under the MIT License - see the LICENSE file for details.