IMAGE HOSTING это проект, который позволяет пользователю загружать изображения и получать ссылки на них.
To quickly set up and run the application using Docker, follow these steps:
docker-compose up --build
The image hosting will be available at http://localhost:8000/
.
- Python 3.10
-
Clone the Repository:
git clone https://github.com/howtoartyom/image-hosting-frontend.git cd image-hosting-frontend
-
Set Up the Virtual Environment:
pip install -r requirements.txt
-
Run the Development Server:
python app.py
The API will be available at
http://127.0.0.1:8000/
.
Creating a Wallet:
curl -I http://localhost:8080/
Creating a Transaction:
curl -X POST http://localhost:8000/upload \
-F "file=@test.jpg"
To run the test suite with coverage:
pytest --cov=wallet_transaction_api
This project is licensed under the MIT License. See the LICENSE
file for details.