Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iniciar projeto #1

Open
23 of 26 tasks
huogerac opened this issue May 8, 2024 · 0 comments
Open
23 of 26 tasks

iniciar projeto #1

huogerac opened this issue May 8, 2024 · 0 comments

Comments

@huogerac
Copy link
Owner

huogerac commented May 8, 2024

Iniciar projeto

  • package manager (Poetry)
  • 1o endpoint usando uma estrutura e nao tudo no main.py
  • adicionar pytest, black, flake8
  • adicionar .env
  • adicionar conexão com banco (SQLAlchemy)
  • adicionar migrations (alembic)
  • adicionar CLI
  • error handling
  • camada de services
  • cadastrar e listar tarefas
  • two database (db and db_tests)
  • create and drop all (database setup tests)
  • commands (taskpy)
  • teste para quase tudo
  • Auth
    • migrations de usuáiors
    • cadastrar usuário
    • login e validar senha (hash)
    • criar session id
    • retornar cookie http only
    • validar cookie / session id nos requests
    • proteger rotas
    • whoami
  • logging
  • tornar o uso do SQLAlchemy async
  • utilizar o padrão factory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant