A chat server developed with Golang.
# and chat with other people in the hub!
Website: https://chat-hub.liara.run
This project is a chat server developed with golang. Users can # in the server and join the chat server where they will be able to chat with other people in the hub. Chats are stored in the server so messages will remain in the chat and users are able to see previous messages
This project uses
- Gin as its HTTP web framework to develop REST APIs
- GORM as its ORM to interact with the database
- Postgresql as the database
- Gorilla websocket package to handle websocket connections
- Docker to create docker image of the app
- PASETO tokens to handle Authorization logic
Choose a username and password and #!
If you already have an account, enter your username and password and log in!
After a Successful login or # now you can chat with other people in the hub!
- POST /api/# ---> # a new user.
- POST /api/# ---> login user.
- POST /api/refresh ---> refresh access token.
- GET /api/chat ---> start a websocket connection with the server