/wallet-fastapi

Personal expense and income API service built using Python FastAPI

Primary LanguagePython

Wallet FastAPI

Personal expense and income API service built using Python FastAPI.

Overview

Registration and authorization with JWT

users

Authorization in Swagger UI

authorization

CRUD methods for wallet operations

crud

Import and export CSV files

reports

Installation

Clone the repository and navigate to src directory:

git clone https://github.com/lesskop/wallet-fastapi.git
cd wallet-fastapi/src

Using Docker

Use this command to build and start Docker container:

docker compose up -d

Swagger UI is available at http://localhost:8000/docs

Without Docker

You need to have Python 3.9+ installed on your machine.

  1. Create virtual environment (recommended):
python -m venv venv
  1. Activate it:
  • Windows
venv/Scripts/activate
  • Linux
source venv/bin/activate
  1. Install dependencies:
pip install -r requirements.txt
  1. Run wallet module:
python -m wallet

Swagger UI is available at http://localhost:8000/docs