Skip to content

alisher-nil/Fast_api_gsheets

Repository files navigation

Static Badge Static Badge Static Badge Static Badge Static Badge

QRkot_spreadseets

About

This project is a backend for a charity fund written in Python using the FastAPI framework. It provides an API for managing users, maintaining charity projects and donations. It's mostly the same as charity fund project but adds an endpoint to create a report in google sheets using google API.

Table of Contents

Installation

  1. Clone the repository
git clone https://github.com/alisher-nil/cat_charity_fund.git
  1. Navigate to the project directory:
cd cat_charity_fund
  1. Create a virtual environment:
python3 -m venv venv
  1. Activate the virtual environment:
  • Linux/macOS

    source venv/bin/activate
  • Windows

    source venv/scripts/activate
  1. Upgrade PIP and install required dependencies:
python3 -m pip install --upgrade pip
pip install -r requirements.txt
  1. Adjust environment variables in .env file.

Example provided in .env.example

Usage

To run the project use the following command from the project's root directory:

uvicorn app.main:app --reload

By default the project will be available at localhost:8000/

API

API documentation can be found at localhost:8000/docs/ for Swagger and localhost:8000/redoc/ for Redoc.

Users

Users are implemented with bearer transport and JWT strategy.

Author

Please feel free to contact me with any questions or feedback:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published