johnwatson484/dream-league-api ? reverse-engineered prompt
Reverse engineered prompt
Build me the backend API for a fantasy football style app called Dream League.
I want it to run locally with Node, Postgres, and Redis, with a simple setup so I can copy the env file, start the database containers, run migrations, and launch the server in watch mode. It should support user login and registration, token based auth, password reset emails, and a weekly results email that I can preview in the browser without actually sending anything. If it helps, use current docs online for anything tricky.
Please include sensible defaults for development, working tests, and a clean way to seed local data. I also want the app to be easy to run in Docker, and for tests to be self contained so I do not need to manually set up databases every time. Keep it practical and ready to use, with good error handling and a structure that would make sense for a small backend service.
Are you gonna build this?
make sure you review the code using coderabbit