Skip to content
enategaPublic

About

Sipp Multivendor Website Source Code

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SIPP Super Web

.... Customer-facing Next.js application for SIPP. The current commerce scope is Multi Vendor food delivery, with architecture that can add Single Vendor and independent future service modules without coupling them to delivery internals.

Engineering documentation

Every developer and coding agent must start with AGENTS.md.

The initial feature-first normalization is complete. The architecture document defines the active module boundaries and the required extension points.

Getting started

Install dependencies, copy the environment template, and point it at the SIPP backend:

Node.js 20.9 or newer is required by Next.js 16.

npm install
cp .env.example .env.local

Run the website on a port that does not conflict with the backend:

npm run dev -- --port 3001

Open http://localhost:3001. Customer authentication at /login is proxied through same-origin /api/auth/* route handlers, and the backend token remains in HTTP-only cookies.

Password recovery stores the backend-issued, one-time opaque reset token in a short-lived HTTP-only cookie. The backend binds and consumes that token through Redis after the forgot-password OTP is verified.

Set the server-only ADMIN_WEB_URL to the Admin Users page URL. The customer site uses it only as the safe destination for Exit impersonation.

Current commands

npm run dev -- --port 3001
npm run lint
npm run i18n:audit
npm run i18n:audit:ci
npm run build
npm run start

Formatting, unit/component tests, and Playwright remain documented target tooling; their scripts do not exist yet and are not listed as current commands.

Security boundary

Client Components call same-origin /api/* endpoints only. Upstream backend configuration, access tokens, and session-cookie logic remain in server-only modules. Read the data-fetching guide before adding an endpoint or query.

Customer analytics

Google Analytics source integration is disabled by default. See activation, consent, GTM ownership and manual acceptance and the public placeholders in sample.env. The approved CMP, isolated environments and marketing container configuration must be supplied before activation. No live analytics account changes or runtime verification were made.

Customer app deep links

/.well-known/apple-app-site-association and /.well-known/assetlinks.json let the customer app open /restaurants/{storeUUID}[?productId={productUUID}] links. Both return 404 until configured (set at runtime on the host; no rebuild needed):

Variable Value
APPLE_TEAM_ID 10-character Apple Developer Team ID for bundle com.sipp.delivery.app
ANDROID_APP_SHA256_FINGERPRINTS Comma-separated SHA-256 signing-certificate fingerprints for package com.sipp.delivery.app (Play App Signing key, plus any upload/EAS key used for direct installs)

The app's associated domain / intent filter host comes from EXPO_PUBLIC_STORE_WEB_BASE_URL in sipp-customer (default https://sipp-delivery.netlify.app); it must be the host serving these files. Changing it requires re-running prebuild and a new native build.

About

Sipp Multivendor Website Source Code

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages