How dishaa-patni/mern_bookstore_project works
Project type and purpose
• This is a full-stack CRUD web application for managing books.
• The backend is a Node.js + Express REST API (in /backend) that uses Mongoose models to interact with a MongoDB.
• The frontend is a React application (in /frontend) built with Vite and styled with Tailwind CSS, providing pages and components for creating, reading, updating, and deleting books.
File structure
• Top-level: two main directories, backend and frontend, each with its own package.json and build/config files.
• backend/ models, routes, and index.js imply an MVC-style REST API:
• models/bookModel.js – Mongoose schema for Book
• routes/bookRoute.js – Express endpoints (CRUD)
• index.js – server setup and route mounting
• frontend/ is a Vite + React project:
• src/pages – each page matches a CRUD view (Home, CreateBook, EditBook, ShowBook, DeleteBook)
• src/components – reusable UI pieces (cards, modals, spinner, back button)
• public, index.html – static assets and HTML entry point
• config: vite.config.js, tailwind.config.js, postcss.config.js
README
• (Empty in this case.) Use file tree to infer tech stack and architecture.