Create a frontend wireframe. (#7)
Sets up API methods and types. Sets up a colorscheme. Sets up a homepage. Removes tailwind in favor of mui for now. Reviewed-on: #7 Co-authored-by: Drew Galbraith <drew@tiramisu.one> Co-committed-by: Drew Galbraith <drew@tiramisu.one>
This commit is contained in:
parent
7d2b7fc90c
commit
d60d834f38
27 changed files with 3114 additions and 977 deletions
39
CLAUDE.md
39
CLAUDE.md
|
|
@ -50,11 +50,11 @@ backend/
|
|||
└── migrations/ # SQLx database migrations
|
||||
```
|
||||
|
||||
### Frontend: Vite + React + Tailwind CSS
|
||||
### Frontend: Vite + React
|
||||
- **Build Tool**: Vite for fast development and optimized builds
|
||||
- **Framework**: React with functional components and hooks
|
||||
- **Routing**: React Router for client-side navigation
|
||||
- **Styling**: Tailwind CSS for rapid UI development
|
||||
- **Styling**: CSS for styling
|
||||
- **State Management**: React state with localStorage persistence
|
||||
- **PWA Features**: Service worker for offline functionality
|
||||
- **Mobile Optimization**: Touch gestures, responsive design
|
||||
|
|
@ -74,38 +74,11 @@ tasks (id, title, description, status, created_at, updated_at, completed_at)
|
|||
|
||||
## Development Commands
|
||||
|
||||
### Testing
|
||||
```bash
|
||||
# Backend tests
|
||||
just test-unit # Unit tests (cargo test)
|
||||
just test-coverage # Coverage report (tarpaulin HTML)
|
||||
just test-integration # API tests (Hurl)
|
||||
**Primary command**: Use `just` for all development tasks. Run `just --list` to see all available commands.
|
||||
|
||||
# Individual commands
|
||||
cargo test # Direct unit test execution
|
||||
hurl --test tests/api/*.hurl # Direct API test execution
|
||||
|
||||
# Frontend tests (when implemented)
|
||||
npm test # Unit tests
|
||||
npm run test:e2e # End-to-end tests
|
||||
npm run test:coverage # Coverage report
|
||||
```
|
||||
|
||||
### Development Server
|
||||
```bash
|
||||
# Backend (Rust server)
|
||||
just dev # Run backend server (cargo run)
|
||||
|
||||
# Other backend commands
|
||||
just build # Build project
|
||||
just migrate # Run database migrations
|
||||
just reset-db # Reset database
|
||||
just fmt # Format code
|
||||
just lint # Run clippy
|
||||
|
||||
# Frontend (when implemented)
|
||||
npm run dev # Vite dev server
|
||||
```
|
||||
**Key commands**:
|
||||
- `just check` - Validate all changes (primary validation command)
|
||||
- `just fmt` - Format code (resolve formatting errors)
|
||||
|
||||
## Current Phase: Core MVP Backend ✅
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue