santoshvandari / Quotes_API

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

License:Apache License 2.0


Languages

Language:Python 100.0%