Architecture of salahlalami/mern-admin
salahlalami/mern-admin is 131 source files holding 204 symbols across 8 modules, written mainly in JavaScript. The largest module is frontend, with 97 files, and 2 files are entry points into the dependency graph.
How mern-admin fits together
Requests enter the Express.js backend through its two entry points, app.js and server.js. The routes directory defines the API paths, and the controllers directory holds the logic that handles each request. Data is read and written through the models directory, which defines the MongoDB models. The frontend directory contains the React and Ant Design user interface, which calls the backend API at the server address set in its configuration. The backend and the frontend are installed and started separately.
Largest modules
- frontend: 97 files and 4,243 lines of code
- controllers: 8 files and 717 lines of code
- models: 4 files and 185 lines of code
- root: 2 files and 85 lines of code
- routes: 2 files and 51 lines of code
- data: 1 file and 21 lines of code
- handlers: 1 file and 36 lines of code
- setup: 1 file and 25 lines of code
Documentation
Repowise documents mern-admin in 132 pages generated from the source.
More on mern-admin: summary and FAQ, codebase overview, code health.
Related guide: Best dependency graph tools for monorepos