How shaik-raiyan/nodebackenddaily works
Project type and purpose
• This is NodeBackendDaily, a learning-journey repository containing multiple small Node.js/Express apps (daily exercises) rather than a monolithic production system.
• Each top-level folder (BasicsOfNodeEJS, NodeWithMongoDB, NodeWithMySQL, REST, learningMongoDB) is a standalone mini-project demonstrating a backend concept: EJS templating, MongoDB integration, MySQL integration, RESTful API patterns, and general MongoDB learning.
File structure
• Top-level directories correspond to different “modules” or “micro-projects.”
• BasicsOfNodeEJS: Express server + EJS views + a static JSON data example.
• NodeWithMongoDB/ChatWithMe: Express + Mongoose models + views + public assets.
• NodeWithMySQL: Express + MySQL schema + EJS views + static assets.
• REST: Express CRUD API + EJS views + static assets.
• learningMongoDB: just an index.js shell for MongoDB experimentation.
• Each project follows an MVC-like pattern:
• index.js (entry point, Express app & route registration)
• views/ (EJS templates)
• public/ (static CSS/images)
• models/ or schema files (for DB integration)
• Common configuration: package.json, package-lock.json.
README for additional insights
• The README emphasizes that this is a personal log of daily backend experiments.
• No single “deployment” or external service beyond local MongoDB/MySQL instances is described.
• The technical stack for each mini-project is Node.js + Express + EJS + (MongoDB or MySQL).
Capturing essential architectural elements
• “Express.js App” (entry point) → connects to “Views (EJS)” and “Public (CSS/Images).”
• If applicable, “Model” → “MongoDB” or “MySQL.”
• For REST, highlight “/posts” endpoints (GET, POST, PUT, DELETE) → JSON responses.
• Optionally, show the developer/workstation cloning the repo and starting each mini-app locally on different ports.