How ashnasiddiqi/library works
Project type and purpose
• This is a full-stack JavaScript/TypeScript web application.
• Frontend: React + TypeScript, built with Vite.
• Backend: Node.js + Express, serving API endpoints.
• Database: relational SQL (schema provided in library_db.sql).
File structure
• Top-level directories:
• backendProject: contains server code
• public: static assets for frontend
• src: React application source
• Config files at root:
• vite.config.ts, tsconfig*.json, eslint.config.js, package*.json for frontend
• backendProject/package*.json, backendProject/src define the API.
• library_db.sql defines the database schema.
• Routes in backendProject/src/routes follow a modular pattern (books.js, etc.).
Key insights from README
• The frontend uses Vite + React + TypeScript with HMR.
• ESLint is configured for type-aware linting.