How fahimgbon/campusinsights works
Project type and purpose
• This is a full-stack web application (“Sections Insight”) for UBC course section management and insight.
• The frontend is a React/TypeScript SPA; the backend is a Node/TypeScript REST API layer that ingests zipped datasets, validates and processes queries, and serves results.
File structure
• Top level:
• frontend/ – React application (public/, src/, package.json, etc.)
• src/ – backend code:
– rest/Server.ts: Express HTTP server entrypoint
– controller/: InsightFacade, Dataset, Room, Section controllers & processors
– performQuery/: QueryValidator and ApplyQuery engine
• test/: unit/integration tests for both controller logic and REST endpoints
• Config files: tsconfig.json, ESLint, Prettier, .gitignore, etc.
• No external database driver – in-memory dataset management via InsightFacade.
README
• Describes only the frontend startup but file-tree confirms full-stack.
• Mentions “working with an API and translating it into a user interface,” implying a clear client↔server separation.