Schon — your store without the extra baggage. https://schon.io
Find a file
Egor fureunoir Gorbunov 59870b3bc5 Features: 1) Add logging for transaction processing errors in payments/signals.py; 2) Add return type annotations for core tasks in core/tasks.py;
Fixes: 1) Avoid unused variable warning in `update_products_task` by removing exception variable `vie`; 2) Add missing imports for `logging` and `traceback` in `payments/signals.py`;

Extra: 1) Minor formatting fix in `dbbackup.py` to consolidate FTP URL string construction; 2) Remove unnecessary newline in `core/vendors/__init__.py`.
2025-08-11 14:05:48 +03:00
.idea Features: 1) Replace email templates' header image from favicon.png to logo.png; 2) Add Django facet configuration in .idea/evibes.iml; 2025-07-23 07:39:24 +03:00
blog Features: 1) Add detailed in-line comments with type ignore for improved debugging and maintainability; 2) Update I18N strings and translation placeholders across locales; 3) Introduce "address set" as a translatable object; 2025-07-14 16:22:19 +03:00
core Features: 1) Add logging for transaction processing errors in payments/signals.py; 2) Add return type annotations for core tasks in core/tasks.py; 2025-08-11 14:05:48 +03:00
Dockerfiles Features: 1) Add new make-messages.ps1 and compile-messages.ps1 scripts for Windows localization workflow; 2) Update Docker ENTRYPOINT scripts to use bash for app, worker, stock_updater, and beat containers; 3) Bump project version to 2.9.1 in pyproject.toml and settings; 2025-07-03 18:33:37 +03:00
evibes Features: 1) Add logging for transaction processing errors in payments/signals.py; 2) Add return type annotations for core tasks in core/tasks.py; 2025-08-11 14:05:48 +03:00
monitoring Fixes: 1) Correct metrics path in Prometheus configuration. 2025-06-22 15:09:36 +03:00
payments Features: 1) Add logging for transaction processing errors in payments/signals.py; 2) Add return type annotations for core tasks in core/tasks.py; 2025-08-11 14:05:48 +03:00
scripts Features: 1) Add support for multiple database backup types (SFTP, FTP) with dynamic configuration; 2025-08-05 20:40:27 +03:00
storefront Features: 1) Add .gitkeep file under storefront directory; 2025-06-27 04:28:58 +03:00
vibes_auth Features: None; 2025-07-28 12:29:30 +03:00
.dockerignore Features: 1) Introduced AddressFilter and AddressType to enable filtering and querying addresses via GraphQL; 2) Added resolve_addresses method with permission check in GraphQL schema; 3) Updated DRF settings to improve API documentation structure. 2025-07-12 18:49:25 +03:00
.gitignore Features: 1) Add .idea/evibes.ico to version control; 2025-07-18 19:55:26 +03:00
CODEOWNERS Features: 1) Consolidated Dockerfile owners under @@maintainer for clarity; 2025-06-27 04:20:13 +03:00
docker-compose.yml Features: None; 2025-08-05 10:31:45 +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 Features: 1) Update rpds-py package version from 0.25.1 to 0.26.0 for updated functionality; 2025-07-02 01:37:24 +03:00
pyproject.toml Features: 1) Add b2b_auth_token and users fields to Vendor model with associated migration; 2) Introduce unique constraint for b2b_auth_token with migration; 3) Enhance VendorAdmin and Vendor model's save method to manage related users and token fields automatically; 2025-07-28 11:56:32 +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