django-ecommerce-api
djLint
django-ecommerce-api | djLint | |
---|---|---|
3 | 4 | |
109 | 599 | |
- | 3.2% | |
5.2 | 8.3 | |
17 days ago | 14 days ago | |
Python | Python | |
- | GNU General Public License v3.0 only |
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
djLint
-
Django Code Formatting and Linting Made Easy: A Step-by-Step Pre-commit Hook Tutorial
- repo: https://github.com/Riverside-Healthcare/djLint rev: v1.32.0 hooks: - id: djlint-reformat-django - id: djlint-django
-
Improve your Django Code with pre-commit
For Django users, which you presumably are, this will be a God send! Check out the repo. This is an HTML linter... but for Django templates 🤯
-
Hugo no theme
There is also another gohtml file type formatter, you can find it here https://github.com/Riverside-Healthcare/djlint.
-
Django template formatter
djLint is far batter than djhtml. it has support for both formatting and linting.
What are some alternatives?
django-boilerplate - A raw django boilerplate with async background tasks support
null-ls.nvim - Use Neovim as a language server to inject LSP diagnostics, code actions, and more via Lua.
docker-compose-django-celery-redis-postgres - Create docker compose for Django, Celery, Redis and Postgres
pretix - Ticket shop application for conferences, festivals, concerts, tech events, shows, exhibitions, workshops, barcamps, etc.
ecommerce-django-stripe - Django Stripe Sample - Soft UI Design (Free Sample) | AppSeed
kapitan - Generic templated configuration management for Kubernetes, Terraform and other things
django-celery - Example of how to handle background processes with Django, Celery, and Docker
jinjax - Server-Side Components with Jinja
drf-yasg - Automated generation of real Swagger/OpenAPI 2.0 schemas from Django REST Framework code.
django-migration-linter - :rocket: Detect backward incompatible migrations for your django project
Django REST Swagger - Swagger Documentation Generator for Django REST Framework: deprecated
jinja2-simple-tags - Base classes for quick-and-easy template tag development