Skip to content

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.

Notifications You must be signed in to change notification settings

milinddethe15/GoChatApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published