Skip to content

Latest commit

 

History

History
60 lines (48 loc) · 1.48 KB

README.md

File metadata and controls

60 lines (48 loc) · 1.48 KB

GoChatApp


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.

Technologies used

  • Typescript
  • NextJS
  • TailwindCSS
  • Golang (Fiber)
  • Postgres SQL
  • Websocket
  • Docker

Running locally

First, clone the repo:

git clone https://github.com/milinddethe15/GoChatApp.git

Run Frontend

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.

Run Backend

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.

Screenshot

SignUp Page

Login Page

Home Page

Chat Page