- Install Docker and use it for a quick setup.
- Clone this repository:
git clone https://safwantmimi/Arcube-Full-Stack-Developer-Task.git-
Rename .env.dist to .env:
-
Open the project folder and start the container with docker compose:
docker compose up --build
- Enjoy the project! 😉
GET:
/:shortened_id : Get the shortened URL from DB
POST:
/shorten [body : {"OriginalUrl" : "url"}] : Shorten the URL and store in DB
Access the API using the following URLs:
Client: http://localhost:3000/
Load Balanced Server: http://localhost:4000/- TinyURL System Design
- System Design : Scalable URL shortener service like TinyURL
- An Illustrated Proof of the CAP Theorem
- What is eventual consistency and why should you care about it?
- Redis Documentation
- Apache Zookeeper Documentation
- Nginx HTTP Load Balancing Documentation
- Docker Documentation
- Kompose Documentation
Safouan TMIMI
- Linkedin: @safwantmimi
- Github: @safwantmimi