Levali is a URL shortener that counts clicks.
- 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.
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
Made by Isaac Allef 👋