This repository is my practical solution for the problem in Chapter 8 in System Design Interview (Second Edition) by Dr. Alex Xu
- Clone the repo using
git clone https://github.com/YoussefWaelMohamedLotfy/SystemDesign-URLShortener.git
- Build the project.
- Run the command
Update-Database
in VS Package Manager Console, ordotnet ef database update
with the dotnet CLI - Start the app using
Ctrl + F5
, ordotnet run
in the terminal.
You will be redirected to swagger by default, and you can use the API.
- Base62 Conversion
- MD5 Hashing (Collision not handled yet)
- Caching
- Rate Limiting
Both of them are implemented in my ASP.NET 6 Web API Template. Check it out from here.