tftic-fswd/minerva-api ? reverse-engineered prompt
Reverse engineered prompt
Build me a backend API for a training management system called Minerva. I want it to let people sign up and log in securely, then manage users, trainings, courses, enrollments, progress, and notifications in a clean way. It should support different roles and permissions so admins, trainers, and learners only see what they should. I also want endpoints to create, update, list, and get the details for trainings and courses, including things like descriptions, categories, schedules, and trainers.
Use a database with migrations and seed data so I can get started quickly, and make sure it runs locally with an easy dev setup. Please include basic API documentation and sensible validation and error handling. If there are any current best practices or docs you need to check while building it, look them up online. Make it practical and ready to run in Docker too.
Are you gonna build this?
make sure you review the code using coderabbit