How mmamorim/sdm-2025-1-manha works
Project type and purpose
• This repository is a teaching-focused collection of JavaScript/Node.js exercises and small applications, organized by lesson (Aula01 through Aula10), culminating in simple HTTP/REST servers using Express and file-based JSON storage.
• It isn’t a single deployable product but a series of progressively complex client-and-server demos covering:
• Basic JS in browser (index.html + main.js)
• Modular JS (import/export)
• Node.js scripting and npm
• HTTP fundamentals
• Express-based REST API with CRUD operations on JSON files
File structure
• Top-level folders “Aula01_19FEV” through “Aula10_30Abr” each contain a standalone mini-project.
• Common patterns per lesson:
• Frontend: index.html, main.js
• Backend: server.js (Node.js/Express), package.json, package-lock.json
• Data: JSON files (db.json, banco.json)
• Modules: helper .js files (e.g. criptografia.js, sgdb.js, clapback.js)
• Final lessons introduce Express routes (GET/POST/PUT/DELETE) and a simple file-based datastore.
README for additional insights
• The README maps lessons to topics (JS basics → modularization → Node.js/npm → HTTP/APIs → Express → routes).