Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/aykhans/oh-my-url
- Owner: aykhans
- License: mit
- Created: 2024-01-19T12:10:57.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-03-13T13:28:59.000Z (8 months ago)
- Last Synced: 2024-09-30T04:02:59.025Z (about 2 months ago)
- Topics: cassandra, go, postgresql, url-shortener
- Language: Go
- Homepage:
- Size: 36.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```