Skip to content

Bootstrap monorepo layout (go.mod, cmd, internal, web, admin) #1

@tayebmokni

Description

@tayebmokni

Summary

Bootstrap the GoNext monorepo with a baseline directory structure for the Go API server, Next.js public site, and admin app. Establish module boundaries that match the system topology in the architecture overview.

Design reference

  • docs/00-architecture-overview.md §4 (System Topology)
  • docs/00-architecture-overview.md §2 (Stack Decisions)

Acceptance criteria

  • Root go.mod initialized at module path github.com/Singleton-Solution/GoNext
  • cmd/server/ contains main.go for the Go API server
  • internal/ directories scaffolded: http, auth, content, media, jobs, db, config
  • web/ directory contains placeholder for Next.js public site
  • admin/ directory contains placeholder for admin app
  • migrations/ directory exists for golang-migrate SQL files
  • Top-level README.md exists with a one-line project description
  • go build ./... succeeds with the empty scaffolding

Dependencies

none

Complexity

S

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions