Fixitex Services is a web application designed to help users browse, order, and manage services with ease.
It includes a Django REST Framework backend and a React + TypeScript frontend.
- User Authentication (JWT-based login & registration)
- Service Management (view active, pending, and total services)
- Cart System (create cart, add/remove items)
- Dashboard with real-time service stats
- Responsive UI built with Tailwind CSS
fixitex/
├── backend/ # Django REST Framework API
├── frontend/ # React + TypeScript app
Backend:
- Python 3 + Django
- Django REST Framework
- PostgreSQL
- JWT Authentication
Frontend:
- React + TypeScript
- Tailwind CSS
- React Router
- Axios
cd backend
python -m venv venv
source venv/bin/activate # On Windows use venv\Scripts\activate
pip install -r requirements.txt
python manage.py migrate
python manage.py runserver
Backend runs at: http://localhost:8000
cd frontend
npm install
npm run dev
Frontend runs at: http://localhost:5173 (Vite default)
- User logs in or registers.
- System creates a cart (UUID saved in localStorage).
- User can add/remove services from the cart.
- Dashboard updates with the latest order info.
Method | Endpoint | Description |
---|---|---|
POST | /auth/register/ |
Register a new user |
POST | /auth/login/ |
Login and receive JWT |
GET | /services/active/ |
List active services |
GET | /services/pending/ |
List pending services |
GET | /carts/{cart_id}/ |
Get cart details |
POST | /carts/create/ |
Create a new cart |
- JWT token is stored in localStorage for authentication.
- Cart is tied to
cart_id
(UUID) generated on creation. - The app uses context providers (
AuthContext
,CartContext
) to manage state globally.
@peter-muokwugwo
If you’d like to contribute, fork the repo, make your changes, and submit a pull request.
Bug reports and feature suggestions are always welcome!
MIT License © 2025 Fixitex Services