Table of Contents
This is a simple comments service for AITU UCMS project. It is a part of the project, which is a web application for managing the university's clubs. The service allows users to leave comments on the content of the AITU UCMS.
-
Go version 1.22.3
-
Docker 26.1.4
-
Docker Compose 2.27.1
-
go version docker --version docker-compose --version
- Clone the repo
git clone https://github.com/ARUMANDESU/uniclubs-comments-service.git
- Change directory
cd uniclubs-comments-service
- Write the environment variables in the
.env
fileENV=dev START_TIMEOUT= SHUTDOWN_TIMEOUT= HTTP_ADDRESS= HTTP_TIMEOUT= HTTP_IDLE_TIMEOUT= GRPC_PORT= GRPC_TIMEOUT= MONGODB_URI=mongodb://<user>:<password>@<host>:<port> MONGODB_PING_TIMEOUT=10s MONGODB_DATABASE_NAME=<your_database_name> RABBITMQ_USER=<user> RABBITMQ_PASSWORD=<password> RABBITMQ_HOST=<host> RABBITMQ_PORT=<port> USER_SERVICE_ADDRESS=<host>:<port> USER_SERVICE_TIMEOUT=10s USER_SERVICE_RETRIES_COUNT=2 JWT_SECRET=
- Run the service
task r:e