zenhosta/9drive — reverse-engineered prompt
Reverse engineered prompt
Build me a web app called 9Drive where someone can connect several Google Drive accounts and use them like one storage dashboard.
I want users to register with email and password or sign in with Google. If they use Google, connect that first Drive account automatically. After login they should see total storage, used space, free space, and a quota tracker for all connected accounts. They should be able to add more Drive accounts, upload files, make virtual folders, preview files, download, rename, move, and delete them. Uploads should go straight to Google Drive inside a folder named 9drive, not sit on the server, and the backend should choose a Drive account with enough free space. Add a manual sync button that reads the 9drive folders back into MySQL.
Use a React frontend, an Express TypeScript backend, MySQL with migrations, secure tokens, encrypted Google OAuth config, optional reCAPTCHA, and a bottom right upload progress panel. Include local setup and Docker compose. Look up current Google OAuth and Drive API docs if needed.
Want more depth? Deep Reverse