How madhan-g-p/octalogic-tech-simple-crud works
Project type and purpose
• This is a full-stack vehicle-booking CRUD application.
• Front end: React SPA with multiple pages (vehicle type, model name, wheels, dates, details).
• Back end: Node.js + Express API (versioned under v1), exposing endpoints for vehicle booking.
• Database: Relational SQL (schema and seed scripts provided).
File structure
• Top-level directories:
• back-end/
– app.js (Express application entry)
– Routes.js (API route mounting)
– v1/vehicle-booking/ (versioned controller logic and SQL constants)
– dbConnection/ (DB connection and setup modules)
– utilities/ (shared helper functions)
– SQL_scripts/ (schema.sql, data.sql)
• front-end/
– public/ (static HTML, manifest)
– src/
· globalState/ (React context for shared state)
· pages/ (React components for each booking step)
· App.js (router setup)
Key insights from README
• Simple CRUD for review; back end is fully implemented, front end partially.
• No mention of external third-party services beyond the SQL database.