https://github.com/ttyobiwan/reedsal
Simple live chat built using Go and Redis
https://github.com/ttyobiwan/reedsal
go postgresql redis websockets
Last synced: 3 months ago
JSON representation
Simple live chat built using Go and Redis
- Host: GitHub
- URL: https://github.com/ttyobiwan/reedsal
- Owner: ttyobiwan
- Created: 2023-10-11T06:37:50.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-11T06:44:11.000Z (almost 3 years ago)
- Last Synced: 2025-03-02T02:17:20.899Z (over 1 year ago)
- Topics: go, postgresql, redis, websockets
- Language: Go
- Homepage:
- Size: 5.61 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Reedsal
Simple live chat app that uses:
- Email + password for a simple authentication
- JWT for authorization
- Websockets for communication
- PostgreSQL as a database
- sqlx for the queries
- goose for migrations
- Redis for messaging and pubsub
Is it overengineered? For sure. But it was just for fun.
I got too tired and bored with this, so there are some parts that will remain unfinished, like tests or lack of settings.
## Migrations
To create a new migration, use this command and move the file to `db/migrations/` directory.
```zsh
go install github.com/pressly/goose/v3/cmd/goose@latest
goose create sql
```