mansa-team/server — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me the backend server for the Mansa project in Python using FastAPI. It should run as an API service for the project, support user related features with JWT sessions and Google login settings, expose a basic health check at localhost on port 3200, and include a stocks API area that can use quotas and private keys.

It also needs to connect to MySQL databases for users and stock data, support the Brazilian market scraper as part of the backend, and have options for exporting scraped data to JSON or MySQL. Please make it easy to run locally but prioritize Docker setup with docker compose, migrations, environment variables, logging, tests, and clear docs so someone can deploy it without guessing.

Use the README values as the expected environment setup, keep secrets in a .env file, and look up current FastAPI and Docker docs online if you need to.

Want more depth? Deep Reverse