How christian-ittech/g_afrinova_project_ndakotech_s17 works
NDAKO TECH is a housing-search MVP for Brazzaville and Pointe-Noire. A visitor filters available listings, reviews results, opens a dated listing with photos and verification/status details, then contacts the manager directly by phone or WhatsApp. The React client calls a read-only Express API, whose controllers use a PostgreSQL-backed model; listing photos are served as static assets. Publishing and registration pages are present as showcase forms, not functional account or listing creation. The map follows the documented workflow and sampled calls; unsampled implementation details are not inferred.
Main entry points: App.jsx Page routing · FichePage.jsx Listing detail · logementRoute.js Housing routes · ResultatsPage.jsx Search results
Components 27
React client
- Page routing
client/src/App.jsx - Shared layout
client/src/components/Layout.jsx - Home search
client/src/pages/HomePage.jsx - Filter form
client/src/components/SearchForm.jsx - Search results
client/src/pages/ResultatsPage.jsx - Listing card
client/src/components/LogementCard.jsx - Listing detail
client/src/pages/FichePage.jsx - Photo gallery
client/src/components/PhotoGallery.jsx - Status badges
client/src/components/Badge.jsx - Display formatting
client/src/utils/format.js - API client
client/src/api/logements.js - Publish showcase
client/src/pages/PublierPage.jsx - Signup showcase
client/src/pages/InscriptionPage.jsx
Express API
- HTTP application
server/src/app.js - API route index
server/src/routes/index.js - Housing routes
server/src/routes/logementRoute.js - District routes
server/src/routes/quartierRoute.js - Search validation
server/src/middlewares/validateRecherche.js - ID validation
server/src/middlewares/validateId.js - Listing controller
server/src/controllers/logementController.js - District controller
server/src/controllers/quartierController.js
Housing data
- Housing queries
server/src/models/logementModel.js - Database pool
server/src/config/database.js - PostgreSQL
External services
- Listing photos
server/src/public/images - Phone / WhatsApp
Other components
- Home seeker
Connections 33
- Home seeker → Page routing: opens pages
README.md - Page routing → Shared layout: wraps routes
client/src/App.jsx - Page routing → Home search: routes to
client/src/App.jsx - Page routing → Search results: routes to
client/src/App.jsx - Page routing → Listing detail: routes to
client/src/App.jsx - Page routing → Publish showcase: routes to
client/src/App.jsx - Page routing → Signup showcase: routes to
client/src/App.jsx - Home search → Filter form: renders
client/src/pages/HomePage.jsx - Filter form → API client: loads districts
client/src/components/SearchForm.jsx - Filter form → Search results: navigates to
client/src/components/SearchForm.jsx - Home search → Listing card: renders listings
client/src/pages/HomePage.jsx - Search results → API client: fetches listings
client/src/pages/ResultatsPage.jsx - Search results → Listing card: renders listings
client/src/pages/ResultatsPage.jsx - Listing detail → API client: fetches listing
client/src/pages/FichePage.jsx - Listing detail → Photo gallery: renders photos
client/src/pages/FichePage.jsx - Listing detail → Status badges: renders status
client/src/pages/FichePage.jsx - Listing card → Status badges: renders status
client/src/components/LogementCard.jsx - Listing detail → Display formatting: formats details
client/src/pages/FichePage.jsx - Listing card → Display formatting: formats price
client/src/components/LogementCard.jsx - API client → HTTP application: HTTP JSON
README.md - Listing detail → Phone / WhatsApp: offers direct contact
client/src/pages/FichePage.jsx - HTTP application → API route index: mounts API
server/src/app.js - HTTP application → Listing photos: serves images
server/src/app.js - API route index → Housing routes: registers routes
server/src/routes/index.js - API route index → District routes: registers routes
server/src/routes/index.js - Housing routes → Search validation: validates search
server/src/routes/logementRoute.js - Housing routes → ID validation: validates ID
server/src/routes/logementRoute.js - Housing routes → Listing controller: dispatches requests
server/src/routes/logementRoute.js - District routes → District controller: dispatches requests
server/src/routes/quartierRoute.js - Listing controller → Housing queries: queries listings
server/src/controllers/logementController.js - District controller → Housing queries: queries districts
server/src/controllers/quartierController.js - Housing queries → Database pool: runs SQL
server/src/models/logementModel.js - Database pool → PostgreSQL: connects to
README.md