- url-shortener-root
- Postgres
- Kong
- Konga
- RabbitMQ
- url-shortener-web
- React.js
- url-shortener-api
- Postgres
- Express Typescript
- Adminer
- url-shortener-analytics [WIP]
url-shortener
├── url-shortener-api
├── url-shortener-root
└── url-shortener-analytics [WIP]
- https://potong.link - UI
- https://api.potong.link - REST API
- https://konga.potong.link - Konga UI
- https://db.potong.link - Adminer UI
- https://rabbitmq.potong.link - RabbitMQ Management UI
$ 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
$ docker network create url-shortener
$ docker-compose up # root, api