How fenixts/wokzon-test works
WOKZON is a marketplace for finding and contacting local professionals. The main documented journey is browsing listings, viewing a professional, connecting directly, and completing a service transaction; the React app also exposes account, posting, wishlist, location, and chatbot screens. The backend serves listing, user, and cart APIs backed by MongoDB models, and handles profile-image uploads. README-documented payments, subscriptions, messaging, and reviews are included as capabilities, but their implementations and connections are not established by the sampled source.
Main entry points: App.js React router · app.js Express application · ProfessionList.js Professional directory · userControll.js User operations
Components 27
Discovery and contact
- React router
client/src/App.js - Professional directory
client/src/Components/ProfessionList.js - Professional detail
client/src/Components/ProfessionDetail.js - Location selection
client/src/Components/Location.js - Chatbot
client/src/Components/Chatbot.js - Wishlist and cart
client/src/Components/Wishlist.js - City data state
client/src/Components/CityDataContext.js - Direct messaging
README.md
Accounts and listings
- Account view
client/src/Components/MyAccount.js - Login
client/src/Components/Login.js - Registration
client/src/Components/Register.js - Professional posting
client/src/Components/Post.js - Payments and rental fees
README.md - Reviews and ratings
README.md
API services
- Express application
app.js - Professional listing routes
routes/productDataRoutes.js - Listing operations
controllers/productDataController.js - User routes
routes/userRoute.js - User operations
controllers/userControll.js - Cart routes
routes/cartItemRoute.js - Cart operations
controllers/cartItemController.js - Image route handler
routes/imageRoute.js - Image upload
controllers/imageController.js
Persistent data
- Professional records
models/productDataModel.js - User records
models/userModel.js - Cart records
models/cartItemsModel.js
Other components
- Customer or worker
Connections 27
- Customer or worker → React router: uses
README.md - React router → Professional directory: routes to
client/src/App.js - React router → Professional detail: routes to
client/src/App.js - React router → Wishlist and cart: routes to
client/src/App.js - React router → Account view: routes to
client/src/App.js - React router → Login: routes to
client/src/App.js - React router → Registration: routes to
client/src/App.js - React router → Professional posting: routes to
client/src/App.js - React router → Chatbot: routes to
client/src/App.js - React router → City data state: provides state
client/src/App.js - Professional directory → City data state: reads state
client/src/Components/ProfessionList.js - Professional directory → Express application: requests listings
client/src/Components/ProfessionList.js - Express application → Professional listing routes: mounts
app.js - Express application → User routes: mounts
app.js - Express application → Cart routes: mounts
app.js - Professional listing routes → Listing operations: dispatches
routes/productDataRoutes.js - Listing operations → Professional records: reads and writes
controllers/productDataController.js - User routes → User operations: dispatches
routes/userRoute.js - User operations → User records: uses
controllers/userControll.js - User operations → Cart records: uses
controllers/userControll.js - Cart routes → Cart operations: dispatches
routes/cartItemRoute.js - Cart operations → Cart records: reads and writes
controllers/cartItemController.js - Express application → Image route handler: mounts
- Image route handler → Image upload: dispatches
routes/imageRoute.js - Customer or worker → Direct messaging: connects directly
README.md - Customer or worker → Payments and rental fees: pays for services
README.md - Customer or worker → Reviews and ratings: leaves feedback
README.md