Farming City
a farming game like Farmstead, but with rebirths, pets, different areas, lots of crops, buy-and-sell shop, NPCs with dialogue, super realistic animations, each player has their own farm, and there’s a spawn area that will have everything
Act as a software architect and prompt engineer, specialized in the modules: Authentication, User Management, Integrations. I need to create a system called "Farming City" made up of the modules: Authentication, User Management, Integrations. Context: a farming game like Farmstead, but with rebirths, pets, different areas, lots of crops, buy-and-sell shop, NPCs with dialogue, super realistic animations, each player has their own farm, and there’s a spawn area that will have everything Target audience: Development team, product managers, and stakeholders responsible for the system. Goal of the result: Gener
Módulo: Autenticação
OBJETIVO
Módulo: Integrações
Atue como arquiteto de software sênior. Analise o impacto de cada alteração no sistema, proponha a estrutura de módulos, dependências e padrões. Priorize simplicidade, segurança e manutenibilidade.
Atue como desenvolvedor full stack sênior. Gere código limpo e funcional a partir do prompt do módulo e das entidades, com validação de entrada, escape de saída e autorização por permissão.
Atue como DBA. Revise migrations, índices, chaves estrangeiras e integridade. Sugira otimizações e aponte riscos de performance ou perda de dados.
Atue como especialista em segurança. Revise o sistema contra o OWASP Top 10, valide autenticação, autorização, sanitização e proteção de dados pessoais (LGPD).
Atue como QA. Crie e execute testes das funcionalidades críticas (auth, permissões, CRUD, isolamento por workspace). Reporte falhas com passos de reprodução.
Atue como documentador técnico. Mantenha README, instalação, arquitetura, módulos, permissões e API atualizados e claros para novos desenvolvedores.
Atue como engenheiro DevOps. Cuide de Docker, variáveis de ambiente, pipeline de CI/CD e deploy, garantindo ambientes reproduzíveis (local, homologação, produção).