Skip to content

ziaddevv/Chat_App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Real-Time Chat Application

A real-time chat application with a Go backend and a JavaScript frontend.


๐Ÿš€ Features

  • ๐Ÿ”‘ User authentication (register, login, logout, current user session)
  • ๐Ÿ’ฌ Public and private chat rooms
  • โšก Real-time messaging with WebSockets
  • ๐Ÿ“‚ File upload support
  • ๐Ÿ“ฑ Simple and responsive frontend using HTML, CSS, and JavaScript

๐Ÿ›  Tech Stack

  • Backend: Go, Gorilla WebSocket, Gorilla Sessions, SQLite
  • Frontend: HTML, TailwindCSS, JavaScript
  • Database: SQLite

๐Ÿ“ฆ Getting Started

Prerequisites

  • Go 1.20+
  • SQLite

Setup Instructions

  1. Clone the repository:

    git clone https://github.com/yourusername/your-repo-name.git
    cd your-repo-name
    
     Install Go dependencies:
    
     go mod tidy
    
  2. Run the Go server:

    go run main.go

  3. Open the frontend in your browser:

    http://localhost:8080

About

A real-time chat application built with Go for the backend and a JavaScript/TailwindCSS frontend. It supports user authentication, public and private chat rooms, file uploads, and WebSocket-based real-time communication.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors