This is a code cage API.
A Dockerfile is included to build a Docker image of the application.
# Build Docker Image for production
docker build -t code-cage-api .
# Run Docker Container for development (hot reloading)
docker build -t code-cage-api -f Dockerfile.dev .
# Copy env file from .env.example
cp .env.example .env
# Run Docker Container for production
docker run -p 8080:8080 --env-file .env --name code-cage-api code-cage-api
- Install PostgreSQL locally using Docker
docker run -d -p 5432:5432 -e POSTGRES_PASSWORD=postgres --name postgres postgres
Go Modules are used for dependency management, which are listed in go.mod and go.sum.
We welcome contributions! Please see CONTRIBUTING.md for details on how to contribute.
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.