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

Change project structure #12

Closed
8 tasks done
pavelprokhorenko opened this issue Aug 10, 2023 · 0 comments · Fixed by #13
Closed
8 tasks done

Change project structure #12

pavelprokhorenko opened this issue Aug 10, 2023 · 0 comments · Fixed by #13
Assignees
Labels
refactoring Refactoring some features/architecture

Comments

@pavelprokhorenko
Copy link
Owner

pavelprokhorenko commented Aug 10, 2023

  • Change folder structure
  • UUID instead of auto increment id
  • PostgreSQL default naming convention
  • Default fields for Base ORM model (id, created_at, modified_at)
  • BaseService instead of BaseRepository
  • Use dependency injection instead of explicit async with async_postgres.session() as session
  • Update dependencies
  • Move to Pydantic v2.0+

Change projects structure according to:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Refactoring some features/architecture
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant