Kartora E-commerce
A full-stack store with a polished storefront and an admin panel, Razorpay payments, two-factor login, returns and tracking, and a security-focused test suite.
- Type
- Full-stack e-commerce platform
- Role
- Design & development
- Frontend
- React 19, Vite, Tailwind CSS
- Backend
- Node.js, Express 5, TypeScript
- Data
- PostgreSQL (Neon) with Prisma
- Payments
- Razorpay & Cash on Delivery
- Hosting
- Vercel
- Status
- Live (demo store)
Visit live site ↗Screenshot of the live site. Click it to open the real thing.
The problem & the solution
Problem. An online store has to get the details right: correct prices, accurate stock, verified payments and safe handling of customer data. A pretty storefront isn't enough, and neither is a backend with a dull front.
Solution. Kartora is a complete store with a storefront shoppers enjoy and an admin panel owners can run. Prices are computed on the server, Razorpay payments are verified by signature, stock is protected against overselling, accounts can be locked with two-factor login, and an automated test suite checks the security-critical paths.
Kartora is a demo store with sample products. It shows the complete flow, from browsing and checkout to returns and order management.
Highlights
- Redesigned storefront: hero carousel, deals of the day with a countdown, mega-menu and smart search
- Checkout stepper with Razorpay (verified by signature) or Cash on Delivery
- Two-factor login with an authenticator app and recovery codes
- Orders with a progress timeline, courier and tracking number, invoices and return requests
- Admin panel with shipping emails, CSV exports and refunds for returns
- Product images on Backblaze B2, kept in sync with the catalogue
- Light and dark mode, skeleton loaders and accessible dialogs
- Security-focused automated tests (Vitest and Supertest)
Built for shoppers and for store owners
Storefront
- Animated announcement bar, sticky header and categories mega-menu
- Search with recent and trending searches and live suggestions
- Listings with filters for category, price, brand, rating, discount and stock
- Grid or list view with skeleton loading
- Product pages with gallery and hover zoom, offers and a delivery-date checker
- Mini-cart drawer with free-shipping progress and a mobile tab bar
Accounts & security
- Sign up and login with a password strength meter
- Email verification and forgot or reset password
- Two-factor authentication with recovery codes
- Sign out everywhere, data export and account deletion
- Saved addresses, wishlist and verified-purchase reviews
Orders, returns & tracking
- Checkout in three steps: address, payment, review
- Coupons, Razorpay and Cash on Delivery
- Order timeline with courier and tracking number
- Printable invoice, buy again, cancel and refund
- Return requests handled from the admin panel
Admin panel
- Dashboard with revenue, orders, a 7-day chart and low-stock alerts
- Products, categories with images, coupons and review moderation
- Order status flow with shipping and tracking emails
- CSV export for orders and newsletter subscribers
- Returns with refunds, customer suspend and a full audit log
Money and data handled carefully
Accounts
- bcrypt passwords, strong-password policy and login lockout
- Sessions in httpOnly cookies, ended on password change
- Role checks on every admin route, with ownership checks on customer data
- Rate limiting, CSRF origin checks and security headers
Payments & stock
- Razorpay signature checks, with a webhook as a second confirmation
- Prices and totals computed on the server, in whole paise
- Atomic stock and coupon updates stop overselling
- Unpaid orders expire automatically and release stock
Tests
- 22 test files for auth, access control, payments and orders
- Injection, XSS, upload spoofing and forged-signature tests
- Stock race conditions and double-cancel checks
- Tests run against a separate guarded database
What it's built with
Need an online store?
We build secure, payment-ready stores with an admin panel, so you can manage products, orders and returns yourself.
Discuss your project →
