๐งธ
About ToyLand
A demo e-commerce toy store built with Next.js 16, TypeScript,Tailwind CSS, and PostgreSQL โ running on the demo schema.
Demo User CredentialsClick to go to login
| User | Password | Role | |
|---|---|---|---|
| ๐คLokesh Kumar | lokesh@toystore.com | demo123 | Customer |
| ๐คPriya Sharma | priya@toystore.com | demo123 | Customer |
| ๐งAdmin User | admin@toystore.com | admin123 | Admin |
Features
๐
Authentication
JWT sessions via httpOnly cookies. Login with demo accounts below.
๐
Search & Filter
Full-text search powered by PostgreSQL. Filter by category, sort by price or rating.
๐
Pagination
50 products across 4+ pages, 12 per page.
๐
Shopping Cart
Persistent cart stored in PostgreSQL. Add, update, or remove items.
๐ณ
Dummy Payment
Card form with formatting โ Visa/MC/Amex. No real charge. Order saved to DB.
โญ
Reviews
Product reviews with star ratings from seeded demo data.
Tech Stack
Next.js 16React 19TypeScriptTailwind CSSPostgreSQLpg (node-postgres)JWTbcryptjs
DB:
postgres database ยท demo schema ยท User: sumanaddanke@localhost:5432