This project allows users to perform card operations (creation, deletion, updating, listing), view user operations in detail or in summary, and perform transactions with a card number.
- FastAPI
- Redis
- MySQL
- Docker
Before running, make sure you have Docker installed on your system.
- Clone the repo
git clone https://github.com/seymaozler/card-application.git
- Create a virtual environment and activate it
python -m venv venv venv\Scripts\activate
- Create a .env file based on .env.example and configure your environment variables:
copy env.example .env
- Install requirements
pip install -r requirements.txt
- Build the Docker containers:
docker-compose build
- Start the Docker containers:
docker-compose up -d