How geninee/genie-mvp works
Genie is currently a React/Vite starter paired with an Express API; the README explicitly says natural-language workflow generation and agent functionality are not implemented yet. The present user-facing flow is the web app checking API health, while the API also exposes user CRUD through its router, service and repository layers. The README describes the user data as a demo JSON file, but the sampled source does not establish the exact write path, so that relation is left unverified.
Main entry points: App.tsx Starter app · user.router.ts User routes · server.ts Server and health · UserRepo.ts User repository
Components 13
Web client
- Starter app
packages/web/src/App.tsx - Health validation
packages/web/src/health.ts - React entry
packages/web/src/main.tsx
API runtime
- API listener
packages/api/src/main.ts - Server and health
packages/api/src/server.ts - API router
packages/api/src/routers/api.router.ts
User domain
- User routes
packages/api/src/routers/user.router.ts - User service
packages/api/src/services/UserService.ts - User model and schemas
packages/api/src/entities/User/module.ts - User repository
packages/api/src/repos/UserRepo.ts - Mock ORM
packages/api/src/repos/MockOrm.ts - Demo JSON data
packages/api/src/repos/common/database.json
Other components
- Browser
Connections 11
- Browser → React entry: opens app
packages/web/src/main.tsx - React entry → Starter app: renders
packages/web/src/main.tsx - Starter app → Health validation: validates response
packages/web/src/App.tsx - Starter app → Server and health: requests health
README.md - API listener → Server and health: starts
packages/api/src/main.ts - Server and health → API router: mounts routes
packages/api/src/server.ts - API router → User routes: mounts users
packages/api/src/routers/api.router.ts - User routes → User service: calls CRUD
packages/api/src/routers/user.router.ts - User routes → User model and schemas: validates input
packages/api/src/routers/user.router.ts - User repository → Mock ORM: uses
packages/api/src/repos/UserRepo.ts - User repository → Demo JSON data: uses demo data