๐Ÿš— Rent-A-Car API Live

REST API for a car rental platform โ€” Express + MongoDB + JWT + Nodemailer + Swagger.

๐Ÿ”‘ Demo Login Email: demo@demo.com   Password: Demo1234!   Role: admin
Use these in Swagger UI's Authorize dialog or POST to /auth/login
๐Ÿ“˜ Swagger UI
Interactive API explorer
๐Ÿ“• Redoc
Beautiful API reference
๐Ÿ“„ OpenAPI JSON
Raw spec
๐Ÿš™ GET /cars
Car fleet
๐Ÿ“… GET /reservations
Bookings (auth)
โŒจ Source Code
github.com/ozguryildiz54
POST /auth/login Login โ†’ JWT + refresh token POST /auth/refresh Refresh JWT GET /cars List cars (public) POST /cars Create car (admin) PUT /cars/:id Update car (admin) DELETE /cars/:id Delete car (admin) GET /reservations List reservations (auth) POST /reservations Create reservation (auth) GET /users List users (admin)