Views
No views yet
1git clone <repo-url>
2cd <repo-root>1cd musicgpt-api
2npm install1cd ../musicgpt-web
2npm install1cd musicgpt-api
2npm run dev1cd musicgpt-web
2npm run devtake-home/
├── musicgpt-api/ # Express/TypeScript backend
│ ├── src/
│ │ ├── config/ # Environment and config files
│ │ ├── controllers/ # Route controllers (e.g., plan.controller.ts)
│ │ ├── middleware/ # Express middleware
│ │ ├── models/ # Data models (e.g., plan.model.ts)
│ │ ├── routes/ # API route definitions
│ │ ├── services/ # Business logic (e.g., plan.service.ts)
│ │ ├── app.ts # Express app setup
│ │ └── server.ts # Entry point
│ ├── package.json # API dependencies and scripts
│ └── ...
│
├── musicgpt-web/ # Next.js/React frontend
│ ├── public/assets/ # Images, SVGs, and plan data (plans.json)
│ ├── src/
│ │ ├── app/ # Next.js app directory (entry, layout, styles)
│ │ ├── components/ # UI components
│ │ │ └── UpgradeModal/ # Modal, features, utils, icons
│ │ ├── hooks/ # Custom React hooks
│ │ └── utils/ # Utility functions
│ ├── package.json # Web dependencies and scripts
│ └── ...
└── README.md # (This file)musicgpt-web/README.md for detailed frontend documentation, including modal features and customization.