repository
0.0.0-20241126050719-70ebb6937a56
Repository: https://github.com/jaox1/chat-server.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# README
Chat Server
This server implements http, websockets to communicate between clients.
Setup
- Deploy a Postgres container.
docker run --name some-postgres -e POSTGRES_PASSWORD=password -p 5432:5432 -d postgres
- Create a database e.g. chat_experiment
- Add .env file in root project
SIGNING_KEY=custom_key
DB_HOST=localhost
DB_PORT=5432
DB_NAME=chat_experiment
DB_USER=postgres
DB_PASSWORD=password
- Run the project.