Skip to content

Daivasmara/url-shortener-root

Repository files navigation

Architecture

Microservice_Architecture

Related Services

Project Structure

url-shortener
├── url-shortener-api
├── url-shortener-root
└── url-shortener-analytics [WIP]

Endpoints

Public

Private

Development

$ docker run --rm --name url-shortener-postgres \
  -e POSTGRES_PASSWORD=postgres \
  -e POSTGRES_USER=postgres \
  -e POSTGRES_DB=url-shortener \
  -p 5432:5432 \
  -d \
  postgres:12.3
  
# api
$ npm run dev

# web
$ npm start

Production

$ docker network create url-shortener
$ docker-compose up # root, api

About

Generate memorable shortened link

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages