Skip to content

prnvtripathi/go-tiny

Repository files navigation

Monorepo: GoTiny - Backend + Next.js Frontend

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.


📁 Project Structure

monorepo/ ├── backend/ # Go backend application ├── frontend/ # Next.js frontend application ├── docker-compose.yml └── turbo.json # Turborepo configuration


🛠 Setup Instructions

1. Prerequisites


2. Installation

  1. Clone the repository:

    git clone <repository-url>
    cd monorepo
  2. Install dependencies for the frontend:

    cd frontend
    npm install
  3. Initialize the Go backend:

    cd ../backend
    go mod tidy

3. Running the Application

Using Docker Compose

  1. Build and start the services:

    docker-compose up --build
  2. Access the services:


🚀 Turborepo Setup

Install Turborepo

npm install -g turbo

Turbo Commands

  • Build all projects:

    turbo run build
  • Develop all projects:

    turbo run dev
  • Test all projects:

    turbo run test

🐳 Docker Compose

This monorepo uses Docker Compose to manage the backend and frontend services. See the docker-compose.yml file for configuration.


🤝 Contributions

Feel free to contribute by opening a pull request.


📜 License

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

Releases

No releases published

Packages

No packages published

Languages