Files
web-cad/README.md
T
2026-06-21 20:34:08 +00:00

1.2 KiB

web-cad - Web-based 2D CAD for Event Seating Plans

This project is a web-based 2D CAD application for creating event seating plans.

Project Structure

  • frontend/ - React frontend application
  • backend/ - Node.js Fastify backend API

Technology Stack

Frontend

  • React 19
  • TypeScript 5
  • Vite 6
  • ESLint & Prettier
  • Vitest for testing

Backend

  • Node.js 22
  • Fastify 5
  • TypeScript 5
  • SQLite database
  • Yjs for collaborative editing
  • ESLint & Prettier
  • Vitest for testing

Development Setup

  1. Install dependencies:

    cd frontend && npm install
    cd ../backend && npm install
    
  2. Start development servers:

    # In one terminal
    cd backend && npm run dev
    
    # In another terminal
    cd frontend && npm run dev
    

Docker Setup

To run the application with Docker:

# Build and start services
docker-compose up --build

This will start:

Testing

Run tests for both frontend and backend:

# Frontend tests
cd frontend && npm test

# Backend tests
cd backend && npm test