GoChatApp is a modern and scalable real-time chat application that seamlessly integrates the power of Go for the backend, PostgreSQL for data storage, WebSocket for instant communication, and Next.js for the responsive and interactive frontend interface.
- Typescript
- NextJS
- TailwindCSS
- Golang (Fiber)
- Postgres SQL
- Websocket
- Docker
First, clone the repo:
git clone https://github.com/milinddethe15/GoChatApp.git
cd client
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.
GoChatApp requires Golang and Docker installed on your system.
Run postgres in docker and create db:
cd server
make postgresinit #start docker container running postgres
make createdb #create a db
make migrateup #apply migration file to db
Install the dependencies and start the server:
cd server
go mod download #download dependencies
go mod tidy
go run cmd/main.go #start server
Change .env file according to your preference.