mirror of
https://github.com/aljazceru/payments-rest-api.git
synced 2025-12-18 06:04:20 +01:00
735 B
735 B
Local Development
-
Clone the repository:
git clone https://github.com/breez/payments-rest-api.git cd payments-rest-api/fly -
Install dependencies with Poetry:
poetry install -
Create a
.envfile with your configuration:cp .env.example .env # Edit .env file with your actual credentials -
Run the application:
poetry run uvicorn main:app --reload -
Visit
http://localhost:8000/docsin your browser to see the API documentation
Docker
-
Build the Docker image:
docker build -t payments-rest-api . -
Run the container:
docker run -p 8000:8000 --env-file .env payments-rest-api