Schon — your store without the extra baggage. https://schon.io
Find a file
Egor fureunoir Gorbunov 2bf396c744 Features: 1) Enhance script initialization for Select2 in autocomplete_list_filter.html to improve compatibility.
Fixes: 1) Correct inconsistent spacing in `core/admin.py` field attribute assignments and methods.

Extra: 1) Format HTML and Python code for improved readability; 2) Replace inline script with `DOMContentLoaded` listener for better code structure.
2025-07-01 19:56:40 +03:00
.idea Features: 1) Add "dalf" package to dependencies for enhancing Django admin list_filter capabilities; 2) Update "notebook" package to version 7.4.4 and adjust its dependencies; 3) Integrate "dalf" filters in admin list_filter configuration; 2025-06-30 16:59:32 +03:00
blog Features: 1) Add ActivationActionsMixin functionality to admin classes for streamlined activation/deactivation actions; 2) Utilize @register decorator for model admin classes across apps for cleaner registration. 2025-07-01 13:43:14 +03:00
core Features: 1) Enhance script initialization for Select2 in autocomplete_list_filter.html to improve compatibility. 2025-07-01 19:56:40 +03:00
Dockerfiles Features: 1) 2.8.9 update 2025-06-18 15:05:58 +03:00
evibes Features: 1) Add autocomplete_list_filter support in Admin classes; 2) Introduce SkipVariableDoesNotExistFilter to suppress specific log warnings. 2025-07-01 16:41:20 +03:00
monitoring Fixes: 1) Correct metrics path in Prometheus configuration. 2025-06-22 15:09:36 +03:00
payments Features: 1) Implement AutocompleteListFilter class enhancing admin filter customization; 2) Add AutocompleteFilterMixin for simplified admin filter inclusion functionality; 2025-07-01 15:06:32 +03:00
scripts Features: 1) Add --clear option to collectstatic commands in Unix and Windows scripts for efficient static file cleanup; 2025-07-01 14:18:26 +03:00
storefront Features: 1) Add .gitkeep file under storefront directory; 2025-06-27 04:28:58 +03:00
vibes_auth Features: 1) Add ActivationActionsMixin functionality to admin classes for streamlined activation/deactivation actions; 2) Utilize @register decorator for model admin classes across apps for cleaner registration. 2025-07-01 13:43:14 +03:00
.dockerignore Features: 1) Add .gitkeep file under storefront directory; 2025-06-27 04:28:58 +03:00
.gitignore Features: 1) None; 2025-06-30 21:29:09 +03:00
CODEOWNERS Features: 1) Consolidated Dockerfile owners under @@maintainer for clarity; 2025-06-27 04:20:13 +03:00
docker-compose.yml Features: 1) Add auto_refresh attribute to Elasticsearch documents with default False; 2025-06-22 23:37:57 +03:00
LICENSE Initial Commit 2025-04-29 22:40:30 +03:00
manage.py Initial Commit 2025-04-29 22:40:30 +03:00
nginx Features: 1) Replace variables with static values for domain, backend, and frontend paths in Nginx configuration; 2) Update root paths for consistency with static and Nuxt frontend integration; 2025-06-19 12:19:09 +03:00
poetry.lock Revert "Features: 1) Add django-admin-autocomplete-list-filter dependency to manage autocomplete functionality in admin list filters; 2) Enable autocomplete_list_filter for ProductAdmin with fields category, author, and tags." 2025-07-01 16:18:39 +03:00
pyproject.toml Revert "Features: 1) Add django-admin-autocomplete-list-filter dependency to manage autocomplete functionality in admin list filters; 2) Enable autocomplete_list_filter for ProductAdmin with fields category, author, and tags." 2025-07-01 16:18:39 +03:00
README.md Features: 1) Clarify README instructions on default storefront absence and customization options; 2025-06-27 04:38:25 +03:00

eVibes

LOGO

eVibes is an eCommerce backend service built with Django. Its designed for flexibility, making it ideal for various use cases and learning Django skills. The project is straightforward to customize, allowing for straightforward editing and extension.

Table of Contents

Features

  • Modular Architecture: Extend and customize the backend to fit your needs.
  • Dockerized Deployment: Quick setup and deployment using Docker and Docker Compose.
  • Asynchronous Task Processing: Integrated Celery workers and beat scheduler for background tasks.
  • GraphQL and REST APIs: Supports both GraphQL and RESTful API endpoints.
  • Internationalization: Multilingual support using modeltranslate.
  • Advanced Caching: Utilizes Redis for caching and task queuing.
  • Security: Implements JWT authentication and rate limiting.

Getting Started

Prerequisites

  • Docker and Docker Compose are installed on your machine.

Installation

  1. Clone the repository:

    git clone https://gitlab.com/wiseless.xyz/eVibes.git
    cd eVibes
    
  2. Choose the storefront. By default, main branch has no storefront included. Skip this step if you're OK with that and plan to only use API or develop your own storefront.

    git checkout storefront-<options: nuxt, next, sk, qwik >
    
  3. Generate your .env file. Check and confirm the contents afterward.

    • Windows
      scripts\Windows\generate-environment-file.ps1
      
    • Unix
      scripts/Unix/generate-environment-file.sh
      
  4. Install all the dependencies.

    • Windows
      scripts\Windows\install.ps1
      
    • Unix
      scripts/Unix/install.sh
      
  5. Spin it up.

    • Windows
      scripts\Windows\run.ps1
      
    • Unix
      scripts/Unix/run.sh
      
  6. Bring to production.

    Include nginx file to your nginx configuration, you really want to install and run Certbot afterward!

Configuration

Dockerfile

Remember to change the RUN sed -i 's|https://deb.debian.org/debian|https://ftp.<locale>.debian.org/debian|g' /etc/apt/sources.list.d/debian.sources before running installment scripts

nginx

Please comment-out SSL-related lines, then apply necessary configurations, run certbot --cert-only --nginx, decomment previously commented lines and enjoy eVibes over HTTPS!

.env

After .env file generation, you may want to edit some of its values, such as macroservices` API keys, database password, redis password, etc.

Usage

  • Add the necessary subdomains to DNS-settings of your domain, those are:
  1. @.your-domain.com
  2. www.your-domain.com
  3. api.your-domain.com
  4. b2b.your-domain.com
  5. prometheus.your-domain.com
  • Add these lines to your hosts-file to use django-hosts functionality on localhost(DEVELOPMENT ONLY):
127.0.0.1 api.localhost
127.0.0.1 b2b.localhost

Once the services are up and running, you can access the application at http://api.your-domain.com(http://api.localhost:8000).

  • Django Admin: http://api.your-domain.com/ (will redirect to admin)
  • API Docs:
    • REST API: http://api.localhost:8000/docs/swagger or http://api.localhost:8000/docs/redoc
    • GraphQL API: http://api.localhost:8000/graphql/

Uninstall eVibes

You are not planning to do that, aren't you?

  • Windows
    scripts\Windows\uninstall.ps1
    
  • Unix
    scripts/Unix/uninstall.sh
    

Contact

FAVICON