django-ecommerce-api
django-ecommerce-api | black-pre-commit-mirror | |
---|---|---|
3 | 1 | |
109 | 33 | |
- | - | |
5.2 | 6.8 | |
17 days ago | 6 days ago | |
Python | Python | |
- | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
django-ecommerce-api
-
Django Code Formatting and Linting Made Easy: A Step-by-Step Pre-commit Hook Tutorial
I hope you found this article helpful. By automating formatting and enforcing linting standards, you can focus on business logic and architecture and save yourself time. If you got lost somewhere throughout the guide, check out the project on GitHub
The Django project I am going to use is one of my own which is an e-commerce API built using Django Rest Framework. I will demonstrate the concepts by using this project so you can clone it to your local machine. However, feel free to use alternative projects if you prefer.
-
An E-commerce API
Nested serializers and so on. If you would like to strengthen your skills, I highly recommend you to check it out
black-pre-commit-mirror
-
Django Code Formatting and Linting Made Easy: A Step-by-Step Pre-commit Hook Tutorial
- repo: https://github.com/psf/black-pre-commit-mirror rev: 23.9.1 hooks: - id: black language_version: python3.10
What are some alternatives?
django-boilerplate - A raw django boilerplate with async background tasks support
isort - A Python utility / library to sort imports.
docker-compose-django-celery-redis-postgres - Create docker compose for Django, Celery, Redis and Postgres
Flake8 - flake8 is a python tool that glues together pycodestyle, pyflakes, mccabe, and third-party plugins to check the style and quality of some python code.
ecommerce-django-stripe - Django Stripe Sample - Soft UI Design (Free Sample) | AppSeed
black - The uncompromising Python code formatter
django-celery - Example of how to handle background processes with Django, Celery, and Docker
pre-commit - A framework for managing and maintaining multi-language pre-commit hooks.
drf-yasg - Automated generation of real Swagger/OpenAPI 2.0 schemas from Django REST Framework code.
djLint - ✨ HTML Template Linter and Formatter. Django - Jinja - Nunjucks - Handlebars - GoLang
Django REST Swagger - Swagger Documentation Generator for Django REST Framework: deprecated
zimagi - Zimagi - Modular Data Integration, Distributed Processing, and API Publishing Platform