https://github.com/lemoncloud-io/codes-monorepo-template
Codes Common Monorepo Template
https://github.com/lemoncloud-io/codes-monorepo-template
aistudio eureka-codes monorepo refactoring
Last synced: 6 months ago
JSON representation
Codes Common Monorepo Template
- Host: GitHub
- URL: https://github.com/lemoncloud-io/codes-monorepo-template
- Owner: lemoncloud-io
- Created: 2025-10-16T05:05:06.000Z (9 months ago)
- Default Branch: develop
- Last Pushed: 2026-01-14T13:33:39.000Z (6 months ago)
- Last Synced: 2026-01-14T13:38:10.657Z (6 months ago)
- Topics: aistudio, eureka-codes, monorepo, refactoring
- Language: TypeScript
- Homepage:
- Size: 992 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# codes-monorepo-projects
Monorepo with `lemon-core` based `Serverless` API and `React` frontend
## Architecture
```txt
┌───────────────────────────────────────────────┐
│ Monorepo Root (npm workspace) │
└───────────────────────────────────────────────┘
│
┌───────────┴────────────┐
│ │
▼ ▼
┌──────────────────┐ ┌──────────────────┐
│ backend │ │ frontend │
│ lemon-core API │◄───┤ React SPA │
│ Port: 8000 │ │ Port: 3000 │
└──────────────────┘ └──────────────────┘
```
## Prerequisites
- Node.js >= 22
## Environment Variables
### Web (apps/frontend)
Frontend calls API at `http://localhost:8000` by default (configurable via `VITE_API_URL`).
## Development
### Run API only
```bash
npm run backend
```
### Run Web only
```bash
npm run frontend
```
Web will be available at
## AI Refactor ft. Gemini
Automatically splits a React app generated by AIStudio into a monorepo structure.
### Run Refactor
```bash
# preparing before refactoring. (required to unzip file in sample folder)
./prepare.sh
# refactoring backend w/ gemini
./refactor-backend.sh
# refactoring frontend w/ gemini
./refactor-frontend.sh
# or simply run both in same
./refactor-simply.sh
```
## License
ISC