Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.02 KB

README.md

File metadata and controls

44 lines (31 loc) · 1.02 KB

URL Shortener

Note: This URL shortener application was created as a personal project for practice and learning purposes.

This application allows users to shorten long URLs. It's built using Rust and uses Docker for its runtime dependencies.

Prerequisites

  • Docker
  • Rust

Getting Started

  1. Start Dependencies with Docker Compose:

    Before running the application, start the necessary dependencies using Docker Compose:

    docker compose up -d

    This will start the associated applications defined in compose.yaml.

  2. Run the Rust Application: Navigate to the root directory of the project and run:

    cargo run

    This will start the URL shortener application.

  3. Access the Application: Open your web browser and visit:

    http://localhost:3030
    

You'll be presented with a simple interface to shorten your URLs.

Usage

  1. Enter the URL you'd like to shorten.
  2. Click on the "Shorten" button.
  3. You'll be provided with a shortened link which you can use.