Van Sales Pwa

Van Sales PWA: field sales app (customers, invoicing, payments, stock) with backend and frontend source in one app (like HRMS or POS Awesome). Install on any site, build, and open /pwa.

Install Van Sales Pwa

bench get-app https://github.com/EnfonoTech/Van-Sales-PWA

Add the Frappe Gems badge to your README

Maintain Van Sales Pwa? Paste this into your README:

[![Listed on Frappe Gems](https://frappegems.com/api/method/frappe_gems.seo.badge?app=EnfonoTech%2FVan-Sales-PWA)](https://frappegems.com/gems/apps/EnfonoTech/Van-Sales-PWA)

About Van Sales Pwa

Fateh Pwa

Van Sales PWA: field sales app (customers, invoicing, payments, stock) with backend and frontend source in one app (like HRMS or POS Awesome). Install on any site, build, and open /pwa.

Structure:

  • Backend: fateh_pwa/pwa.py – whitelisted API methods (login, customers, sales invoice, payments, stock, etc.).
  • Frontend source: frontend/ – React PWA (Vite, React 19). Edit frontend/src/ and frontend/public/ here.
  • Built output: fateh_pwa/public/pwa/ – generated by npm run build from the app root.

Build frontend (from app root):

cd apps/fateh_pwa
npm install          # once, installs frontend deps
npm run build        # builds into fateh_pwa/public/pwa/

Then build bench assets and serve:

cd $BENCH
bench build --app fateh_pwa

Run PWA: Open /pwa on your site (redirects to the PWA) or /assets/fateh_pwa/pwa/index.html.

Development: Run npm run dev from apps/fateh_pwa to start the Vite dev server (proxies /api to bench).

Installation

You can install this app using the bench CLI:

cd $PATH_TO_YOUR_BENCH
bench get-app $URL_OF_THIS_REPO --branch develop
bench install-app fateh_pwa

Contributing

This app uses pre-commit for code formatting and linting. Please install pre-commit and enable it for this repository:

cd apps/fateh_pwa
pre-commit install

Pre-commit is configured to use the following tools for checking and formatting your code:

  • ruff
  • eslint
  • prettier
  • pyupgrade

CI

This app can use GitHub Actions for CI. The following workflows are configured:

  • CI: Installs this app and runs unit tests on every push to develop branch.
  • Linters: Runs Frappe Semgrep Rules and pip-audit on every pull request.

License

mit

Related Sales & CRM apps for Frappe & ERPNext

  • Crm — Fully featured, open source CRM
  • Flow — Frappe Flow — native AI agents, tools, and triggers for Frappe
  • Sales Kpi — Sales KPI app for ERPNext
  • Crm Override — An example Frappe app that demonstrates how to override Frappe UI based apps.
  • Eseller Suite — A comprehensive frappe app designed to help selling partners thrive on various online platforms like Amazon and Flipkart. With powerful tools for optimization, analytics, and automation, sellers can boost sales, optimize listings, and stay ahead of the competition effortlessly.
  • Sales Prediction — AI-powered sales forecasting using Prophet
  • Dlitscustom — Erpnext Custom Pricing rule , commission , tools etc..
  • Item Translation — Create Translations for Item Descriptions and fetch them in Selling Transactions