How vivinantony/simplecrudusingmean works
This is a small MEAN-stack user CRUD app. A user interacts with the Angular client, which lists, creates, reads, updates, and deletes users through Express /api routes; the server uses Mongoose to persist user records in MongoDB. The source shows the client requests, route handlers, model operations, and static hosting. The HTML shell is present in the tree but was not excerpted, so its detailed UI behavior is not represented.
Main entry points: server.js CRUD routes · index.html App shell · app.js Angular controller
Components 7
Browser client
- App shell
app/index.html - Angular controller
app/app.js
Express API
- Express server
server.js - CRUD routes
server.js
Persistence
- User model
server.js - MongoDB
Other components
- User
Connections 8
- User → App shell: uses
- Express server → App shell: serves static
server.js - App shell → Angular controller: loads controller
- Angular controller → CRUD routes: requests CRUD
app/app.js - CRUD routes → Angular controller: returns data
server.js - Express server → CRUD routes: registers routes
server.js - CRUD routes → User model: queries and saves
server.js - User model → MongoDB: reads and writes
server.js