Transforms long URLs into short URLs.
- Original URL:
https://unsplash.com/photos/a-bull-with-large-horns-eating-grass-in-a-field-0XKM4QW5WUg
- Shortened URL:
http://localhost:5000/M2v33V
- Clone the repository
- Install Dependencies
npm install
- Run the service
npm run dev:docker
ordocker-compose up --build
- After installing new dependencies, run
npm run delete:docker
to remove the old docker container and image and then runnpm run dev:docker
again.
- Shorten URL
- Redirect to Original URL
- Update Original URL
- Delete Original URL
- Get Original URL
- Caching (Redis)
- Rate Limiting
- Docker & Docker Compose
- Logging (Morgan)