Personal expense and income API service built using Python FastAPI.
Registration and authorization with JWT
Authorization in Swagger UI
CRUD methods for wallet operations
Import and export CSV files
Clone the repository and navigate to src
directory:
git clone https://github.com/lesskop/wallet-fastapi.git
cd wallet-fastapi/src
Use this command to build and start Docker container:
docker compose up -d
Swagger UI is available at http://localhost:8000/docs
You need to have Python 3.9+ installed on your machine.
- Create virtual environment (recommended):
python -m venv venv
- Activate it:
- Windows
venv/Scripts/activate
- Linux
source venv/bin/activate
- Install dependencies:
pip install -r requirements.txt
- Run
wallet
module:
python -m wallet
Swagger UI is available at http://localhost:8000/docs