How eziane/book-store works
Project type and purpose
• This is a full-stack CRUD web application for managing books.
• Frontend: A Vite-powered React/Tailwind UI.
• Backend: An Express.js REST API with a MongoDB (or similar) data store.
File structure
• Top-level: two main dirs: “frontend” and “backend.”
• Backend:
• index.js – app entry point
• config.js – DB connection or environment config
• models/bookModel.js – Mongoose (or ORM) model
• routes/booksRoute.js – CRUD endpoints (/books)
• Frontend:
• public & index.html – HTML shell
• src/main.jsx, App.jsx – React entry and routing
• src/pages – one page per workflow (Home, CreateBooks, ShowBook, EditBook, DeleteBook)
• components – UI atoms (BackButton, Spinner)
• Tailwind & PostCSS config, Vite build config
README
• Very minimal; only shows Vite install. No architecture notes.
• Use file structure to infer tech stack and component boundaries.