A simple URL shortening service.
A project meant to develop my NestJS skills, as well as practice real world implementations of CI/CD and dockerization.
- Minimally viable simple URL shortening API
- Create short URLs
- Redirect shortened URL to the original
- Simple statistics about each shortened URL
- CI - Build, Tests
- CD - Deployment
- Docker build
Run the following on the root folder
$ nix-shell
Manually install the requirements
- NodeJS 18.x
- PNPM
$ pnpm install
# development
$ pnpm run start
# watch mode
$ pnpm run start:dev
# production mode
$ pnpm run start:prod
# unit tests
$ pnpm run test
# e2e tests
$ pnpm run test:e2e
# test coverage
$ pnpm run test:cov
This project is GNU General Public License v3.0 licensed.