Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aykhans/oh-my-url

Simple url shortener implementation with go and postgresql / cassandra.
https://github.com/aykhans/oh-my-url

cassandra go postgresql url-shortener

Last synced: about 1 month ago
JSON representation

Simple url shortener implementation with go and postgresql / cassandra.

Awesome Lists containing this project

README

        

## Run with PostgreSQL

- Rename and fill environment files:
- `/app/config/postgres.env.example` to `/app/config/postgres.env`
- `/config/postgresql/.env.example` to `/config/postgresql/.env`

- Run the following command to start the application with PostgreSQL:
```bash
docker compose -f docker-compose-postgres.yml up
```

## Run with Cassandra

- Rename and fill environment files:
- `/app/config/cassandra.env.example` to `/app/config/cassandra.env`
- `/config/cassandra/init-cassandra.env.example` to `/config/cassandra/init-cassandra.env`

- Run the following command to start the application with Cassandra:
```bash
docker compose -f docker-compose-cassandra.yml up
```