The PXCarRent Backend is a robust and secure Node.js & Express.js API that powers the PXCarRent platform. It provides a seamless car rental management system, handling authentication, car listings, bookings, and user management.
Check out the live API **here
The frontend repository for this project is available **here
π Authentication & Authorization
- Secure JWT-based authentication.
- Role-based access control (Admin & User).
π Car Management
- Admin can add, update, and delete car listings.
- Manage car availability status.
π Booking System
- Users can book and cancel car rentals.
- Admin can manage booking status.
π Security & Performance
- Bcrypt for password hashing.
- CORS enabled for cross-origin requests.
- Zod for input validation.
- Node.js & Express.js - Server-side framework.
- MongoDB & Mongoose - NoSQL database for data storage.
- JWT (jsonwebtoken) - Authentication and user security.
- Bcrypt - Secure password hashing.
- Zod - Data validation.
- Http-Status - Standardized HTTP response codes.
- TypeScript - Type safety for better maintainability.
- ESLint & Prettier - Code formatting and linting.
- Ts-Node-Dev - Development server for TypeScript.