This monorepo hosts a Go backend and a Next.js frontend application. Both services are managed with Turborepo and Docker Compose for efficient development and deployment workflows.
monorepo/ ├── backend/ # Go backend application ├── frontend/ # Next.js frontend application ├── docker-compose.yml └── turbo.json # Turborepo configuration
-
Clone the repository:
git clone <repository-url> cd monorepo
-
Install dependencies for the frontend:
cd frontend npm install
-
Initialize the Go backend:
cd ../backend go mod tidy
-
Build and start the services:
docker-compose up --build
-
Access the services:
- Frontend: http://localhost:3000
- Backend: http://localhost:8080
npm install -g turbo
-
Build all projects:
turbo run build
-
Develop all projects:
turbo run dev
-
Test all projects:
turbo run test
This monorepo uses Docker Compose to manage the backend and frontend services. See the docker-compose.yml
file for configuration.
Feel free to contribute by opening a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.