Skip to content

This Repository Contains the CRUD Operation API Code that is written in Python Framework FASTAPI.

License

Notifications You must be signed in to change notification settings

santoshvandari/Quotes_API

Repository files navigation

Quotes API

Introduction

This is an API for performing the CRUD Operation on the Database. It is developed using Python (FastAPI Framework) as well as MOngoDB database.

Features

The URL Shortner has the following features.

  • User can perform GET,POST,PUT and DELETE Operation.

Usages

You System must have the following things to use this Blog App.

  • Installation of python and pip

    Python is available for every platform. Download it according to you os. You can download it from Here.

Follow the mentioned procedure to run this project in your local system.

  • Clone or Download the Repository
    git clone https://github.com/santoshvandari/Quotes_API
    cd Quotes_API
  • Create the Virtual Environment Before installing the requirements.
   python3 -m virtualenv venv #For Linux User
  • Activate the Virtual Environment
  source venv/bin/activate  #For Linux and MAC User
   Note: It is not Necessary to Create Virtual Environment but recommanded.
  • Install the Requirements
    pip install -r requirements.txt
  • Update the Connection String of the MongoDB From DB/db.py

  • Run the Server

    uvicorn app:app --reload 
  • Open the url in Browser
   For Get Request: http://127.0.0.1:8000/  
   For POST Request: http://127.0.0.1:8000/add/
   For PUT Request: http://127.0.0.1:8000/update/
   For DELETE Request: http://127.0.0.1:8000/delete/

Contributing

We welcome contributions! If you'd like to contribute to this Blog app, please check out our Contribution Guidelines.

Code of Conduct

Please review our Code of Conduct before participating in this app.

License

This project is licensed under the License.

About

This Repository Contains the CRUD Operation API Code that is written in Python Framework FASTAPI.

Resources

License

Stars

Watchers

Forks

Languages