/shortnr

(taken *offline* due to abuse) URL shortener and customizer written in Nest and Typescript and deployed with Docker

Primary LanguageTypeScript

shortnr - URL shortener and customizer

Description

shortnr is a URL shortener written in Nest, Typescript, Postgres and Prisma, containerised with Docker

Running the app

# setup environment variables, specifically DATABASE_URL
$ cp sample.env .env
$ vim .env

# in docker
$ docker-compose up

# OR locally
# have postgres installed

# install dependencies
$ yarn install

# development
$ yarn run start


# watch mode
$ yarn run start:dev

# production mode
$ yarn run start:prod