A simple URL shortener service built using Scala, Akka HTTP, and Slick with PostgreSQL as the database.
- Shorten long URLs into short codes
- Optional expiry date for shortened URLs (stores only the date, not time)
- Tracks click count for each URL
- Prevents duplicate entries for the same original URL with the same expiry
- Built with functional programming practices
- Language: Scala
- Backend: Akka HTTP
- Database: PostgreSQL
- ORM: Slick
- JSON: Spray JSON / Lift JSON
- Containerization: Docker (see
docker-compose.yml
andDockerfile
)
git clone https://github.com/shubhangdutta96/Mini_URL.git
docker-compose up -d