Skip to content

Repository files navigation

Backend Book

The main goal is to learn backend practices. Typing rules (mypy, python rules), nosql, function-based & class-based & ViewSet. Overriding apps defined in django (sessions, middleware and etc.)

How to build an application, handle errors, write logs (for service employees).

The backend can be divided into components:

  • interface (cli, admin, api, ...)
  • business (logic for which the server is responsible)
  • store (cache, database, fs, ...)

Backend theory and methodologys: deadline propagation;

About FastAPI deployment, useful for python deployment / github.com

Projects

  • webauth -
  • rbac_hierarchy -
  • real_time_analyze - analytics and reports
  • registry -
class BaseRegistry(models.Model):
  content_type = models.ForeignKey(ContentType, on_delete=models.CASCADE)
  object_id = models.PositiveIntegerField()
  registry = GenericForeignKey('object_id')

    class Meta:
      abstract = True
      indexes = [
        models.Index(fields=['content_type', 'object_id']),
      ]
  • plans - user subscription level, similar to user groups

  • multiplexing websockets - combining several data channels into one

  • advanced_sessions -

Awesome

Roadmap

Skills

  • Database Design

Working with Django

Open-Source

  1. Taiga - project management / github.com:
  2. Django Plans / github.com

Access and Permissions

  1. django-rules / github.com - version conflict
  2. django-prbac / github.com (docs) - version conflict
  3. django-auhority / django-authority.readthedocs.io - used deprecated function

Resources

  1. Classy Class-Based Views / ccbbv.co.uk
  2. Django Vanilla Views / django-vanilla-views.org
  3. Pinax project / pinaxproject.com
  4. https://django-best-practices.readthedocs.io/en/latest/index.html

References

  1. Программирование: ФП подходы на продакшене / SOER / youtube.com
  2. PostgreSQL - Chapter 21. Database Roles / www.postgresql.org

About

Backend stuff. Configured for multiple projects, constantly creating small packages.

Resources

Code of conduct

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages