Home / Projects / Naya RATE
Business software · B2B SaaS

नया RATE

A multi-tenant SaaS for shops and traders. Keep products, prices and customers in one place, then send today's rates to customers on WhatsApp in minutes, in English or Hindi.

Type
Multi-tenant B2B SaaS
Role
Design & development
Frontend
Next.js 16, React 19, Tailwind CSS
Data
PostgreSQL (Neon) with row-level security
Messaging
WhatsApp Business Cloud API
Languages
English and Hindi
Hosting
Vercel
Status
Live
0Database tables
0Languages: English and Hindi
0Volume price tiers
0Default service period per store
new-rate-three.vercel.app
Naya RATE home page with a WhatsApp price list previewVisit live site ↗

Screenshot of the public site. The admin and owner apps are behind a login.

Overview

The problem & the solution

Problem. Shops and traders change prices every day and then message customers one by one. It is slow, easy to get wrong, and nobody keeps a record of what was sent or what the price was last week.

Solution. Naya RATE keeps products, prices and customers in one place. Pick the customers and products, preview the message and send it, either through a free WhatsApp broadcast list or privately through the shop's own WhatsApp Business API with delivery status for every customer. Every shop gets its own isolated space, and the owner controls who has access and for how long.

The name means "new rate". The app and the public site work in English and Hindi, with light and dark mode.

Highlights

  • Products, prices and a full price history
  • Customer lists with CSV import and groups such as Wholesale and Retail
  • WhatsApp send box: free broadcast or the Business Cloud API with delivery status
  • Private by design: tenant isolation enforced inside the database
  • Owner console to approve admins and stores and set service periods
  • Alerts for new-device sign-ins and service-period reminders
  • English and Hindi, light and dark mode
  • Volume-discount pricing page with a cost estimator
How it works

From first message to first price list

The owner sets up each account, so every shop starts with its own private space.

💬

Request an account

The shop tells us its name and how many stores it runs.

🛡️

Owner sets it up

The owner creates the account and approves each store with a service period.

📦

Add products and customers

Enter items by hand or import customers from a CSV file.

📲

Send today's rates

Preview the message and send it on WhatsApp, then check the history.

What's inside

One product, two roles

🏪

For shop admins

  • Add stores, each with its own products, prices and customers
  • Unlimited products and customers per store
  • Customer groups and a one-click "send to this group"
  • History of every message, with delivered and failed status
  • Time left on each store, with warnings in the last 5 days
👑

For the owner

  • Approve or reject access requests
  • Create, suspend and delete admin accounts
  • Approve stores and set, extend or end their service period
  • Activity log with security events
  • Usage dashboard with a 14-day chart and per-store breakdown
⚙️

Under the hood

  • API sends go out in small batches, so each request stays within free-hosting limits
  • Each recipient is claimed before sending, so a repeat can never send twice
  • Live updates poll fast only while you are active
  • Rate limits kept in the database, so they hold across servers
Security & quality

Every shop's data stays its own

🔐

Isolation in the database

  • PostgreSQL row-level security for every tenant and store
  • Queries run as a low-privilege role scoped by the session
  • A store works only while approved and inside its service period
  • A code bug cannot leak another shop's rows
🛡️

Accounts & messaging

  • scrypt password hashes and an account lock after 5 failures
  • Hashed sessions in a secure, httpOnly cookie
  • WhatsApp tokens verified with Meta and stored encrypted (AES-256-GCM)
  • Strict content security policy and validated input everywhere
🧪

Tested

  • Tenant-isolation tests run the real schema on an in-memory PostgreSQL
  • Unit tests for the business rules
  • CI runs type checks, tests, a production build and a dependency audit
  • Zero known vulnerabilities at build time
Tech stack

What it's built with

Next.js 16React 19TypeScriptTailwind CSSPostgreSQLNeonRow-level securityWhatsApp Business Cloud APIZodVitestPGliteGitHub ActionsVercel

Need a SaaS product for your business?

We build multi-tenant apps with private data, roles, billing periods and messaging built in.

Discuss your project →