β»οΈ TakaPlus/
βββ .gitignore
βββ README.md
βββ .env.example
βββ docs/
β βββ architecture.md
β βββ api-contracts.md
β βββ wireframes/
β βββ dashboard.png
β
βββ client/ # frontend (React)
β βββ package.json
β βββ public/
β β βββ index.html
β βββ src/
β β βββ index.js
β β βββ App.jsx
β β βββ main.css
β β βββ api/
β β β βββ api.js # central API wrapper (axios/fetch)
β β βββ pages/
β β β βββ Home.jsx
β β β βββ Listings.jsx
β β β βββ AddListing.jsx
β β β βββ ListingDetail.jsx
β β β βββ Dashboard.jsx
β β β βββ Login.jsx
β β βββ components/
β β β βββ Navbar.jsx
β β β βββ ListingCard.jsx
β β β βββ CreateListingForm.jsx
β β β βββ BidModal.jsx
β β β βββ Pagination.jsx
β β βββ contexts/
β β β βββ AuthContext.jsx
β β βββ hooks/
β β β βββ useAuth.js
β β βββ utils/
β β β βββ impact.js # COβ / impact calculations for UI
β β βββ assets/
β β βββ logo.png
β β βββ placeholder.jpg
β βββ vite.config.js # Vite config / CRA files
β
βββ server/ # backend (Node + Express + Mongoose)
βββ package.json
βββ .env.example # server-specific env vars
βββ server.js
βββ config/
β βββ db.js # mongoose connection helper
βββ routes/
β βββ auth.js # register/login
β βββ listings.js
β βββ bids.js
βββ controllers/
β βββ authController.js
β βββ listingsController.js
β βββ bidsController.js
βββ models/
β βββ User.js # Mongoose schema
β βββ Listing.js
β βββ Bid.js
βββ middleware/
β βββ auth.js # JWT auth middleware
β βββ errorHandler.js
βββ services/
β βββ paymentService.js # optional (M-Pesa / Stripe)
β βββ notificationService.js
βββ utils/
β βββ impact.js
βββ seed/ # optional scripts to seed demo data
β βββ seedListings.js
βββ tests/ # optional: jest/mocha tests
β βββ listings.test.js
βββ Dockerfile
forked from kiprotich25/TakaPlus
-
Notifications
You must be signed in to change notification settings - Fork 0
aspects19/TakaPlus
Β
Β
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Β | Β | |||
Β | Β | |||
Β | Β | |||
Β | Β | |||
Repository files navigation
About
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- TypeScript 79.6%
- JavaScript 19.5%
- Other 0.9%