Freelance client project
GoStudy
An online catalogue for a school-supplies wholesaler, and an admin panel the owner runs himself.
- Client
- Bansal Trading Company, Kaithal, Haryana
- Scope
- Catalogue, admin CMS, enquiry flow
- Catalogue
- 10 categories · 20 products
- Auth
- bcrypt, sessions storing SHA-256 token digests
- Deploy
- Railway — public URL currently offline
- Source
- Private client repository
The client
Bansal Trading Company is a GST-registered school-supplies wholesaler in Kaithal, Haryana. They sell boards, slates, chalk, study tables and games to shops and institutions. Before this the business had no web presence — buyers found them by phone and word of mouth, and the product range lived in the owner's head and a set of photographs.
The constraint that shaped everything: the owner is not technical and was never going to call a developer every time a price changed. Whatever got built had to be something he could run himself, indefinitely, without me.
The decision
No checkout. A WhatsApp enquiry instead.
The obvious build was an online store with a cart and a payment gateway. That would have been the wrong product. Wholesale buyers do not purchase a single slate at list price — they ask for a rate on two hundred, negotiate on volume, and settle terms over a phone call. A cart button would have collected nothing and charged the client a gateway fee for the privilege.
So the catalogue ends in a bulk-enquiry flow that hands the buyer to WhatsApp with the product and quantity already filled in. It matches how the business already sells, which is why it gets used. That endpoint is public by necessity and sends email, so it is rate-limited per IP and per phone number to keep it from becoming someone else's mail server.
The admin panel
The customer-facing catalogue is the smaller half of the build. The larger half is a custom authenticated CMS with tabs for products, categories, filters, price bands, the home page, enquiries and users — everything the owner needs in order never to file a support ticket.
Products carry a draft and publish state, so a half-finished listing is never visible to buyers. Images go through an upload pipeline onto a mounted volume rather than into the repository. Sessions are database-backed and store only the SHA-256 digest of the token, passwords are bcrypt-hashed, changing a password revokes every existing session, and repeated failed logins are throttled.
What I got wrong
A security pass on the finished build found two real leaks worth recording. The products API returned unpublished drafts to anyone who asked — the page hid them, the endpoint did not — and the settings endpoint exposed internal enquiry-routing configuration publicly. Both were cases of the interface enforcing a rule the API had never been told about.
Both now branch on an admin check server-side. SVG was also removed from the upload allowlist, since a same-origin SVG can carry script and become stored XSS. The lesson generalises: authorisation that lives only in the component tree is not authorisation.
Result
Live on Railway and in daily use — 20 products across 10 categories and three admin accounts at the time of writing. A health endpoint reports the resolved database and storage driver and returns 503 if either is misconfigured, so a broken deploy announces itself rather than quietly serving an empty catalogue.
The product count and the admin accounts have both grown since handover, without me touching it. That is the actual result: the brief was an owner who could run his own inventory, and the numbers moving on their own are the evidence it worked.
Need something similar?
Catalogue sites and admin tools like this one start at ₹60,000 and take three to six weeks.