How kenziiken/encarguez-sia works
This repository contains two small Express examples: a basic read-only endpoint and a practice JSON API. The main workflow is an HTTP request reaching a route, which reads or updates in-memory records and returns JSON. The examples run on different ports and keep independent data. The graph reflects the sampled JavaScript; other files are not mapped because their runtime roles are unclear from the available evidence.
Main entry points: api_prac.js API routes · index.js Root data route
Components 8
Basic server
- Basic server
index.js - Root data route
index.js - People data
index.js
Practice API
- API server
api_prac.js - JSON body parser
api_prac.js - API routes
api_prac.js - People data
api_prac.js
Other components
- HTTP client
Connections 10
- HTTP client → Basic server: requests :2607
- Basic server → Root data route: dispatches
- Root data route → People data: reads
- Root data route → HTTP client: sends data
- HTTP client → API server: requests :2107
- API server → JSON body parser: uses middleware
- API server → API routes: dispatches
- API routes → People data: reads
- API routes → People data: adds record
- API routes → HTTP client: returns JSON