How l145dev/airbnb-for-campers works
Project type and purpose
• This is a full-stack web application (“Airbnb for campers”) in active development.
• The frontend is a React + TypeScript single-page app scaffolded with Vite.
• The backend is a Node.js/Express server using Prisma ORM to a relational database (SQL scripts provided).
File structure
• Top-level directories:
• /backend – Express server, routes, middleware, Prisma schema
• /frontend – React SPA, components, pages, assets, UI library, utilities
• Config files:
• /backend/package.json, prisma/schema.prisma
• /frontend/package.json, tsconfig.json, vite.config.ts
• Database scripts: airbnb_for_campers.sql, dummy data SQL, prisma_setup.md
• API structure doc: api_structure.md
README for additional insights
• Phases show database and backend are complete; frontend is in progress.
Elements
• Clear labels: “React SPA”, “Express API”, “Prisma Client”, “PostgreSQL DB”, “Email Service”, etc.
• Browser → Static Host (GET index.html, JS bundles)
• Browser → Express API (POST /login, GET /listings)
• Express → Prisma → Database
• Express → External Email API
• Rectangles for services/components