vansh16-code/revamp ? reverse-engineered prompt

Reverse engineered prompt

Build me a backend API for a student vehicle rental app where people can list bikes, cars, or scooters when they are not using them, and other students can book them. I want full signup and login with JWT, hashed passwords, and role based access for users and admins. Users should have profiles with student details, be able to upload and manage documents like driving license, Aadhar, and student ID, and admins should be able to review and approve or reject those documents.

The app should let owners create, update, and delete vehicles, set availability time slots, and let renters search and filter vehicles by type, price, location, and rating. It also needs booking flows with pending, confirmed, ongoing, and completed states, plus OTP based pickup and return verification. Please include pricing based on time, distance, or both, and track odometer and fuel so final price can be calculated correctly. Use Go, Gin, PostgreSQL, and Docker, and make sure the API is clean, secure, and ready to run locally. If you need to check current docs online, go ahead.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab