vandarin200-sys/NexaManga ? reverse-engineered prompt
Reverse engineered prompt
Build me a serverless backend for my manga Blogger theme, with the API ready to plug into the nexamanga.xml template.
I want the app to store manga, chapters, comments, accounts, roles, reactions, reports, settings, and reader progress in a Neon Postgres database, and keep chapter images and thumbnails in Telegram through a proxy endpoint. It should handle Google and Discord login, create the database tables automatically on first use, and give the first signed in user admin access, with later users becoming members. Please also add XP, level, streak, and leaderboard features, plus public profile pages using a short slug, and keep bookmarks, history, and theme preferences in the browser.
Make sure the API has a health check, supports migration from older snapshot data if it exists, and rejects any non Postgres database setup with a clear message. Use environment variables for secrets, and look up current docs online if you need to.
Are you gonna build this?
make sure you review the code using coderabbit