How abikrit18/p-40-underdog-project works
Project type and purpose
• This is a full-stack web application (“P-40-Underdog-Project”) for a dog shelter’s walk-booking system.
• Backend is a Node.js/Express REST API; frontend is a React single-page app built with Vite; database is MongoDB; image storage is Cloudinary; notification systems include email and Web Push.
File structure
• Top-level folders:
• backend/ (Express server, MVC layers: config, controllers, middleware, models, routes, services, scripts)
• frontend/ (React app: public assets & service worker, src folder with Pages, components, context, styles, utils, config)
• root contains global tests and package configs.
• Architectural patterns:
• Backend uses MVC (models → controllers → routes → services → database)
• Frontend uses component-based UI with a Context for notifications and a service worker for push.
• Configuration & deployment files: .env files, cloudinary.js, vercel.json, tailwind.config.js, vite.config.js.
README insights
• Confirms the tech stack and outlines deployment steps.
• Mentions external dependencies: MongoDB Atlas, Cloudinary, VAPID keys for Web Push, email (Gmail SMTP).