Skip to content

GDGVIT/ultra-chat-backend

Repository files navigation

GDSC VIT

Ultra Chat Backend

Backend written in golang for ultra-chat-bot


Join Us Discord Chat

DOCS UI

Table of Contents


Key Features

Authentication

  • Discord OAuth2 Integration
  • JWT based authentication
  • User profile management

Summaries

  • Create chat summaries
  • Retrieve user summaries
  • Update existing summaries
  • Delete summaries
  • Private/Public summary options

Usage

Installation

# Clone the repository
git clone https://github.com/GDGVIT/ultra-chat-backend.git

# Install dependencies
go mod download

Running

# Set environment variables
export PORT=5001
export MONGODB_URI=your_mongodb_uri
export CLIENT_ID=your_discord_client_id
export CLIENT_SECRET=your_discord_client_secret
export REDIRECT_URI=your_redirect_uri

# Run the server
go run main.go

API Documentation

Postman API Documentations - Ultra Chat Backend

Key Endpoints:

  • POST /create-summary - Create a new chat summary
  • GET /summarizer - Get user summaries
  • PUT /update-summary - Update existing summary
  • DELETE /delete-summary - Delete a summary
  • GET /is_authenticated - Check authentication status

Developer

Aman Singh

Aman Singh

GitHub LinkedIn

Made with ❤ by GDSC-VIT

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •