shiv-raghu775/job-portal-backend ? reverse-engineered prompt
Reverse engineered prompt
Build me a backend for a job portal app that supports sign up, login, and secure access with JWT. I want different roles like job seeker, employer, and admin, so each person only sees and changes what they are allowed to. It should let employers create, update, and delete job posts, let users browse and search jobs, and let applicants submit their details and uploads where needed.
Please include clean CRUD APIs, file upload support for things like resumes and profile images, and basic validation and error handling. Set it up so the code is organized in a simple way with controllers, routes, models, middleware, and utility helpers. Make it ready to run from the main server file, and use the existing JavaScript setup in the repo.
If anything is unclear, use sensible defaults and keep it practical. Feel free to look up current docs online if you need to.
Are you gonna build this?
make sure you review the code using coderabbit