The fund collects donations for various targeted initiatives: providing medical care for cats in need, setting up shelters for cat colonies, feeding abandoned cats, and supporting any other causes related to feline welfare.
-
Clone the repository:
git clone git@github.com:closecodex/cat_charity_fund.git cd cat_charity_fund -
Create and activate a virtual environment:
python -m venv venv source venv\Scripts\activate
-
Upgrade pip and install dependencies:
python -m pip install --upgrade pip pip install -r requirements.txt
-
Run database migrations:
alembic upgrade head
-
Start the application:
uvicorn app.main:app --reload
-
POST /auth/register — Register a new user.
-
POST /auth/jwt/login — Log in and obtain a JWT token.
-
GET /charity_project/ — Retrieve a list of all charity projects.
-
POST /charity_project/ — Create a new charity project.
-
GET /donation/my — Get a list of your personal donations.
-
POST /donation/ — Make a new donation.
-
Author: (Mariia Osmolovskaia)
-
Technologies: Python, FastAPI, SQLAlchemy, Alembic, SQLite, Pydantic
-
API Documentation: Swagger UI, ReDoc