go-chat-api

module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2023 License: MIT

README

Chat API

This is a web chat API that allows users to create and manage chat rooms and send messages. The chat system also includes another API called Broadcaster, where users can subscribe to receive messages from a given chat room. The messages are sent from this API to Broadcaster through RabbitMQ.

Endpoints

Endpoint Method Protected Description
/api/v1/rooms POST YES Create a room
/api/v1/rooms GET YES Search rooms
/api/v1/rooms/{id} GET YES Find a room by id
/api/v1/rooms/{id} PUT YES Update a room
/api/v1/rooms/{id} DELETE YES Delete a room
/api/v1/rooms/{id}/send POST YES Send a message
/api/v1/swagger/index.html GET NO API's documentation
/api/v1/healthz GET NO Health check

Documentation

The API is running in a Kubernetes cluster using GKE on GCP. Check out the documentation on:

Other related repositories are:

Tech Stack

Contributing

Contributions are welcome! If you find a bug or would like to suggest an enhancement, please make a fork, create a new branch with the bugfix or feature, and submit a pull request.

License

This project is licensed under the MIT License. See LICENSE file for more information.

Jump to

Keyboard shortcuts

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