RK Ceramics Ltd. is a modern web application built with Next.js that showcases a collection of ceramic tiles. The platform allows users to explore tile products, while ensuring that detailed information is accessible only to authenticated users.
This project demonstrates secure routing, authentication, and user profile management in a clean and responsive UI.
🔗 https://b13-assignment-8.vercel.app/
The goal of this project is to:
- Present ceramic tile products in an organized and visually appealing way
- Implement secure authentication and protected routes
- Provide a personalized user experience with profile management
- Practice full-stack integration using modern technologies
- User Registration & Login functionality
- Secure authentication using Better Auth
- Protected routes for authenticated users only
- Tile details page is restricted to logged-in users
- Unauthorized users cannot access sensitive data
- Dedicated My Profile page
- Displays user information
- Users can edit and update their profile
- Display multiple ceramic tile items
- Clean and responsive UI for browsing
- Built with Next.js App Router
- Fast loading and smooth navigation
- Toast notifications for user feedback
next– React framework for productionreact&react-dom– Core UI librarymongodb– Databasebetter-auth– Authentication system@better-auth/mongo-adapter– MongoDB adapter for authreact-hook-form– Form handlingreact-toastify– Notificationsreact-icons– Icon libraryreact-fast-marquee– Scrolling UI effectanimate.css– Animations
tailwindcss– Utility-first CSS frameworkdaisyui– UI components for Tailwindeslint– Code lintingeslint-config-next– Next.js ESLint config@tailwindcss/postcss– Tailwind PostCSS support
/app
/login
/register
/profile
/tiles
/tiles/[id] (protected)
/lib
auth-client.js
/public
data.json
- Middleware / proxy-based protection
- Private routes only accessible after login
- Sensitive data hidden from unauthenticated users
git clone https://github.com/rknayem4/B13-assignment-8.gitnpm installnpm run dev- Add product filtering & search
- Implement admin dashboard
- Add cart / order system
- Improve UI animations & accessibility
Robiul Khan Nayem
This project is created for learning and demonstration purposes.
⭐ If you like this project, feel free to give it a star on GitHub!