https://github.com/jagthefriend/go-chat-app
A simple chat app (backend only) built using Golang
https://github.com/jagthefriend/go-chat-app
echo golang websocket
Last synced: 10 months ago
JSON representation
A simple chat app (backend only) built using Golang
- Host: GitHub
- URL: https://github.com/jagthefriend/go-chat-app
- Owner: JagTheFriend
- License: cc0-1.0
- Created: 2025-08-14T07:41:28.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-08-14T07:54:26.000Z (10 months ago)
- Last Synced: 2025-08-14T09:34:45.377Z (10 months ago)
- Topics: echo, golang, websocket
- Language: Go
- Homepage:
- Size: 6.68 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Go Chat App
## Description
Go Chat App is a simple chat application built using Go and the Echo framework.\
It allows users to send and receive messages in real-time.
## Table of Contents
* [Getting Started](#getting-started)
* [Features](#features)
* [Installation](#installation)
* [Usage](#usage)
* [Contributing](#contributing)
* [License](#license)
## Getting Started
### Prerequisites
* Go 1.17 or higher
* Echo framework
* A code editor or IDE of your choice
### Installation
1. Clone the repository: `git clone https://github.com/JagTheFriend/Go-Chat-App.git`
2. Navigate to the project directory: `cd Go-Chat-App`
3. Run the application: `go run cmd/main.go`
## Features
* Real-time messaging
* User (along with Message) routing and handling
## Usage
### API Endpoints
* `GET /user/:id`: Retrieve a user by ID
* `POST /user/new`: Create a new user
* `DELETE /user/:id`: Delete a user
----
* `GET /message/:id`: Retrieve a message by ID
* `POST /message/new`: Create a new message
* `DELETE /message/:id`: Delete a message
## Contributing
Contributions are welcome! Please submit a pull request with your changes.