[feature] migrate to monorepo
This commit is contained in:
commit
05ddc1f783
267 changed files with 75165 additions and 0 deletions
48
README.md
Normal file
48
README.md
Normal file
|
@ -0,0 +1,48 @@
|
|||
# TSS Rocks
|
||||
|
||||
A monorepo containing the TSS Rocks project.
|
||||
|
||||
## Project Structure
|
||||
|
||||
- `backend/`: Go backend service
|
||||
- `frontend/`: React frontend application (including user portal and admin dashboard)
|
||||
- `api/`: Shared API type definitions generated from OpenAPI specs
|
||||
|
||||
## Development
|
||||
|
||||
### Prerequisites
|
||||
|
||||
- Node.js (v18+)
|
||||
- pnpm
|
||||
- Go (v1.21+)
|
||||
|
||||
### Setup
|
||||
|
||||
1. Install dependencies:
|
||||
```bash
|
||||
pnpm install
|
||||
```
|
||||
|
||||
2. Generate API types:
|
||||
```bash
|
||||
pnpm generate-types
|
||||
```
|
||||
|
||||
3. Start development servers:
|
||||
|
||||
Frontend:
|
||||
```bash
|
||||
pnpm dev
|
||||
```
|
||||
|
||||
Backend:
|
||||
```bash
|
||||
cd backend
|
||||
go run ./cmd/server
|
||||
```
|
||||
|
||||
## Building
|
||||
|
||||
```bash
|
||||
pnpm build
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue