This monorepo contains a fullstack web application built with:
- Backend: Golang with Gin framework, GORM ORM, PostgreSQL, and integration with a third-party payment API (MODTRAN).
- Frontend: Nuxt.js (Vue 3) with Tailwind CSS.
- Tooling: Docker, GitHub Actions CI/CD, Dependabot, and
.env
-based configuration.
my-monorepo/
├── backend/ # Golang API using Gin, GORM, PostgreSQL
├── frontend/ # Nuxt.js app with Tailwind CSS
└── .github/ # Shared GitHub Actions workflows and Dependabot config
- Built using Gin — fast HTTP web framework
- ORM powered by GORM
- Database: PostgreSQL
- Payment Integration: [MODTRAN third-party API]
- Configurable via
.env
file - Containerized with Docker
cd backend
cp .env.example .env
go run main.go
docker compose up --build
- Framework: Nuxt 3
- UI: Tailwind CSS
- SSR-ready, optimized for performance
cd frontend
cp .env.example .env
npm install
npm run dev
Both backend and frontend are dockerized. You can run the entire stack using:
docker-compose up --build
(Separate docker-compose.yml
files may exist in backend/
and frontend/
as needed.)
Each service has its own .env
file. Examples provided:
backend/.env.example
frontend/.env.example
Make sure to set required keys for database, API credentials, etc.
-
GitHub Actions configured for both backend and frontend (
.github/workflows
) -
Dependabot configured to keep dependencies up-to-date:
- Go modules (
/backend
) - NPM packages (
/frontend
)
- Go modules (
Layer | Technology |
---|---|
Backend | Go, Gin, GORM, PostgreSQL |
API | Midtrans third-party payment API |
Frontend | Nuxt.js, Tailwind CSS, Node.js |
DevOps | Docker, GitHub Actions, Dependabot |
This project is licensed under the MIT License. See LICENSE for details.