Skip to content

ahhzaky/bwastartup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧰 Fullstack Monorepo: Golang (Gin) + Nuxt.js

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.

📂 Project Structure


my-monorepo/
├── backend/ # Golang API using Gin, GORM, PostgreSQL
├── frontend/ # Nuxt.js app with Tailwind CSS
└── .github/ # Shared GitHub Actions workflows and Dependabot config


⚙️ Backend: Golang API

  • 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

➤ Run Backend Locally

cd backend
cp .env.example .env
go run main.go

➤ Run Backend with Docker

docker compose up --build

🖼️ Frontend: Nuxt.js

➤ Run Frontend Locally

cd frontend
cp .env.example .env
npm install
npm run dev

🐳 Docker Support

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.)


🔐 Environment Variables

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.


🔄 CI/CD & Dependabot

  • GitHub Actions configured for both backend and frontend (.github/workflows)

  • Dependabot configured to keep dependencies up-to-date:

    • Go modules (/backend)
    • NPM packages (/frontend)

📦 Tech Stack Summary

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

Reference

📝 License

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


About

Learn full project.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published