Skip to content

ariefgp/arstuShortener-url-shortener

Repository files navigation

Arstu URL Shortener with NestJS PostgreSQL

A URL shortener server-side app built with Nest.js and PostgreSQL.

Quick Start

  1. Install Node.js - for IDE type checking.
  2. Install Yarn - for IDE type checking.
  3. Install Docker Compose and make sure it is running in the system background.
  4. Clone the app:
git clone [email protected]:ariefgp/arstuShortener-url-shortener.git
  1. Install npm packages - for IDE type checking.
cd arstuShortener-url-shortener
yarn install --frozen-lockfile
  1. Build and run the Docker image.
yarn docker-compose:dev
  1. Access the app at http://localhost:3000.
  2. Make file changes and it will automatically rebuild the app.

Running All Tests

yarn docker-compose:test

Running All Tests (with coverage)

yarn docker-compose:test:cov

Running Tests (Watch)

  1. Build and run the Docker image.
yarn docker-compose:test:watch
  1. Make file changes and it will automatically rerun tests related to changed files.

Build For Production

yarn docker-compose:prod

VSCode Extensions

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published