Skip to content

lpchaim/url-shortener

Repository files navigation

A simple URL shortening service.

Package License CircleCI

Description

A project meant to develop my NestJS skills, as well as practice real world implementations of CI/CD and dockerization.

Goals

  • 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

Development environment

Run the following on the root folder

$ nix-shell

Others

Manually install the requirements

  • NodeJS 18.x
  • PNPM

Installation

$ pnpm install

Running the app

# development
$ pnpm run start

# watch mode
$ pnpm run start:dev

# production mode
$ pnpm run start:prod

Test

# unit tests
$ pnpm run test

# e2e tests
$ pnpm run test:e2e

# test coverage
$ pnpm run test:cov

License

This project is GNU General Public License v3.0 licensed.

About

Simple URL shortener project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published