- Go 1.22 or higher
- Docker
- Docker Compose
-
Clone the repository:
git clone https://github.com/cool9850311/StreamPlatformLite-Backend.git cd StreamPlatformLite-Backend
-
Copy the example environment file and update the environment variables as needed:
cp .env.example .env
-
Start the services using Docker Compose:
# docker-compose or docker compose based on your docker compose version docker-compose up -d --build
- Build and run the application:
go build -o bin/streamplatformlite-backend Go-Service/src/main.go ./bin/streamplatformlite-backend
- Run the tests:
go test ./...
- Stop the services and clean up:
# docker-compose or docker compose based on your docker compose version docker-compose down
Made with contrib.rocks.