Znex75/ecocycle-backend — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a simple backend for an app called EcoCycle. I want it to be the API that a frontend can talk to for a small recycling or sustainability app.

Keep it straightforward in JavaScript. Set up a server, database access, routes, and basic middleware so the project is ready to run locally. The app should let people store and retrieve the main EcoCycle data, like users, recycling related records, and simple status updates or entries. Include the usual create, read, update, and delete actions where they make sense.

Please make the code organized and easy to extend, with separate route files, reusable helpers, and clear error handling. Add environment variable support, a sample env file, and database setup using Prisma so I can run it on a local dev database first. Make sure there are simple instructions in comments or a short note for how to install, migrate the database, and start the server. Look up current docs online if you need to.

Want more depth? Deep Reverse