Skip to content

isaac-allef/Levali-UrlShortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Levali-UrlShortener

Levali is a URL shortener that counts clicks.

Features

  • URL shortening;
  • Click count;
  • URLs expiration;
  • Lazy removal of expired URLs from the database;
  • Periodically run a job to remove expired URLs from the database.

System Design

How to use?

After cloning the project to your machine you can use the following commands:

# Run application
$ docker-compose up --build --scale api=2

# Configure database
$ docker exec -it levali-sqlserver bash
$ cd docker-entrypoint-initdb.d/ && ./init-db.sh && exit

# Stop application
$ [Ctrl] + c
$ docker-compose down

Endpoints

Postman collection


Made by Isaac Allef 👋

About

Levali is a URL shortener that counts clicks.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages