A web application that allows users to upload and view images, similar to the popular image hosting service Imgur. The application is built using PHP and MySQL, with Docker containers for easy deployment and management.
Find a file
2024-05-08 20:31:24 -07:00
assets updated directories, renamed backend to src, removed frontend 2024-05-02 13:39:04 -07:00
Sample_inputs added sample images to test upload 2024-05-08 20:31:24 -07:00
src removed command compose for database 2024-05-08 19:31:02 -07:00
LICENSE Initial commit 2024-04-12 20:15:32 -07:00
README.md Update README.md 2024-05-07 10:24:22 -07:00

Imgur Clone Overview

Your GIF

How to Run

  1. Navigate to the src folder of this project in your terminal:

    cd path/to/src
    
  2. Run the following command to start the Docker containers:

    docker compose up
    
  3. Once the containers are up and running, you can access the services using the following URLs:

  4. Use the following login information to access Adminer and see the database of files:

    • Server: database
    • Username: root
    • Password: root
  5. After logging into Adminer, follow these steps:

    • Click on image_database from the list of databases.
    • Click on image_table from the list of tables.
    • Select Select data to see the uploaded files information.

Service Ports

PHP Runtime Service

  • Container Port: 8000
  • Host Port: 8000
  • Description: Exposes the PHP runtime environment for hosting PHP web applications.

Database Service (MySQL)

  • Container Port: 3306
  • Host Port: 3306
  • Description: Exposes the MySQL database server for storing and managing application data.

Adminer Service

  • Container Port: 8080

  • Host Port: 8080

  • Description: Exposes Adminer, a web-based database management tool, for interacting with the MySQL database through a web interface.

    To be continued