Skip to content

howtoartyom/image-hosting-frontend

Repository files navigation

Python 3.10 License: MIT

IMAGE HOSTING

Overview

IMAGE HOSTING это проект, который позволяет пользователю загружать изображения и получать ссылки на них.

Quick Start with Docker

To quickly set up and run the application using Docker, follow these steps:

1. Build and Run the Docker Container

docker-compose up --build

The image hosting will be available at http://localhost:8000/.

Installation

Prerequisites

  • Python 3.10

Setup Instructions

  1. Clone the Repository:

    git clone https://github.com/howtoartyom/image-hosting-frontend.git
    cd image-hosting-frontend
  2. Set Up the Virtual Environment:

    pip install -r requirements.txt
  3. Run the Development Server:

    python app.py

    The API will be available at http://127.0.0.1:8000/.

Usage

Example Request

Creating a Wallet:

curl -I http://localhost:8080/

Creating a Transaction:

curl -X POST http://localhost:8000/upload \
  -F "file=@test.jpg"

Running Tests

To run the test suite with coverage:

pytest --cov=wallet_transaction_api

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published