REST application for shortening long urls. The idea for the app was https://tinyurl.com/app
- User registration: API for creating new system users for authentication purposes.
- URLs management: Authorised users of the system can manage its links.
-
Python: This application requires Python 3.11 or later. You can download and install Python from the official Python website.
-
Docker: Ensure that Docker is installed on your system. You can download and install Docker Desktop from the official Docker website.
-
Docker Compose: Docker Compose is used for orchestrating multi-container Docker applications. It should be included with Docker Desktop installation on most platforms. If not, make sure to install Docker Compose separately following the instructions provided on the Docker Compose documentation.
- Clone the repository: Clone the repository to your local machine using Git:
git clone https://github.com/Dejvinczi/MyLittleUrl.git
- Build Docker containers: Use Docker Compose to build the Docker containers defined in the composition file
docker-compose.yaml:docker-compose build
- Start Docker containers: Start the Docker containers using Docker Compose:
docker-compose up
The API documentation is available at:
http://127.0.0.1:8000/api/