gen

package module
v0.0.0-...-263dcef Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2024 License: MIT Imports: 0 Imported by: 0

README

Ask Me Anything (AMA) Application

License Contributors Issues Forks Stars

Overview

Welcome to the Ask Me Anything (AMA) application! This project is a real-time platform where users can ask questions and receive answers in a live, interactive environment. The backend is built with Go, leveraging WebSocket for real-time communication.

Table of Contents

Features

  • Real-time Q&A: Users can ask and answer questions in real-time.
  • Room-Based Discussions: Create rooms for different topics or sessions.
  • WebSocket Integration: Low-latency communication using WebSocket.

Tech Stack

  • Backend: Go (Golang)
  • WebSockets: For real-time communication
  • Database: PostgreSQL (running in Docker)
  • Containerization: Docker

Getting Started

Prerequisites

Before you begin, ensure you have the following installed:

Installation
  1. Clone the repository:

    git clone https://github.com/igorjpimenta/AskMeAnything.git
    cd AskMeAnything
    
    
  2. Install dependencies:

    go mod download
    
    
  3. Run PostgreSQL in Docker:

    docker-compose up -d
    
    
  4. Run database migrations::

    go generate ./...
    
    
Running the Application
  1. Run the backend server:

    go run ./cmd/main.go
    
    
  2. The backend server will start on http://localhost:8080

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments
  • Inspired by an event from Rocketseat, the main repo is available here.
Contact

If you have any questions or suggestions, feel free to open an issue or contact the project maintainers.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
internal
api

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL