How codingarctic/iste444-project2 works
Project Type and Purpose
• This is a full-stack “CRUD Car Marketplace” demo application.
• The README calls out a React single-page frontend, an Express/Node.js REST API backend, and an SQLite database for storage.
• Key features include user authentication (demo-level), per-user car listings, logging to file, and full Create/Read/Update/Delete operations via REST.
File Structure
• Top-level directories:
• backend/ – contains server.js, package.json, and a db/ folder with the SQL schema.
• frontend/ – contains a Vite-based React app with src/, public/, and config files.
• Root package.json orchestrates install and start scripts that launch both services concurrently.
• Configuration files:
• frontend/vite.config.js, eslint.config.js
• backend/.gitignore, server.js pointing at API base URL and DB file.
• Patterns: classic client-server split, SPA frontend, REST API layer, file-based SQL DB.
Extract Insights from the README
• Stack: SQLite, React, Express, Node.js.
• Environment configuration: API base URLs toggled in apiRequest.js (frontend) and server.js (backend).
• Start command: “npm run start” launches both sides together.