bottleneckcrm/frontend
vickytechkey 593c108c12
All checks were successful
Deploy Beta (NATIVE) / deploy (push) Successful in 2m3s
feat: add serializers and details page view for sellers
2026-11-01 16:27:32 +05:30
..
src feat: add serializers and details page view for sellers 2026-11-01 16:27:32 +05:30
static chore: update favicon and logo to styled Tradhox artisan T 2026-11-01 13:48:53 +05:30
test/stubs Revert "Convert frontend to React JS and add S3 deployment workflows" 2026-10-24 14:42:05 +05:30
.dockerignore Revert "Convert frontend to React JS and add S3 deployment workflows" 2026-10-24 14:42:05 +05:30
.env.example Revert "Convert frontend to React JS and add S3 deployment workflows" 2026-10-24 14:42:05 +05:30
.gitignore Revert "Convert frontend to React JS and add S3 deployment workflows" 2026-10-24 14:42:05 +05:30
.npmrc Revert "Convert frontend to React JS and add S3 deployment workflows" 2026-10-24 14:42:05 +05:30
.prettierignore Revert "Convert frontend to React JS and add S3 deployment workflows" 2026-10-24 14:42:05 +05:30
.prettierrc Revert "Convert frontend to React JS and add S3 deployment workflows" 2026-10-24 14:42:05 +05:30
components.json Revert "Convert frontend to React JS and add S3 deployment workflows" 2026-10-24 14:42:05 +05:30
Dockerfile Revert "Convert frontend to React JS and add S3 deployment workflows" 2026-10-24 14:42:05 +05:30
eslint.config.js Revert "Convert frontend to React JS and add S3 deployment workflows" 2026-10-24 14:42:05 +05:30
jsconfig.json Revert "Convert frontend to React JS and add S3 deployment workflows" 2026-10-24 14:42:05 +05:30
package.json Revert "Convert frontend to React JS and add S3 deployment workflows" 2026-10-24 14:42:05 +05:30
pnpm-lock.yaml Revert "Convert frontend to React JS and add S3 deployment workflows" 2026-10-24 14:42:05 +05:30
pnpm-workspace.yaml Revert "Convert frontend to React JS and add S3 deployment workflows" 2026-10-24 14:42:05 +05:30
README.md Revert "Convert frontend to React JS and add S3 deployment workflows" 2026-10-24 14:42:05 +05:30
tailwind.config.ts Revert "Convert frontend to React JS and add S3 deployment workflows" 2026-10-24 14:42:05 +05:30
vite.config.js Revert "Convert frontend to React JS and add S3 deployment workflows" 2026-10-24 14:42:05 +05:30
vitest.config.js Revert "Convert frontend to React JS and add S3 deployment workflows" 2026-10-24 14:42:05 +05:30

BottleCRM web app

The SvelteKit (Svelte 5) web client for BottleCRM. It has no database of its own: every page reads and writes through the Django REST API in ../backend, the same API the Flutter app in ../mobile uses. For what BottleCRM is, see the project README.

Run it locally

Start the backend first (see Development setup), then:

cd frontend
cp .env.example .env    # PUBLIC_DJANGO_API_URL points at the backend, http://localhost:8000 by default
pnpm install
pnpm run dev            # http://localhost:5181

The browser calls the API cross-origin, so the backend's CORS_ALLOWED_ORIGINS must include http://localhost:5181. A missing entry shows up as a CORS error, not a 404.

Checks

pnpm run check    # svelte-check type checking
pnpm run lint     # prettier + eslint
pnpm run test     # vitest
pnpm run build    # production build (adapter-node)

Access control

Org membership and role (USER or ADMIN) come from the server, and the backend is the only place they are enforced; anything the UI hides is a convenience, not a control. Platform super admin is the is_superuser flag on the user record, granted explicitly and never derived from an email address.

More