A full-stack eCommerce codebase for an online electronics store, built on Next.js 15, an Express.js API, Prisma and MySQL. It includes a customer storefront with cart and checkout and an admin dashboard.
Key features
- Next.js 15 storefront with Express.js API
- Admin dashboard at /admin
- Cart, wishlist and checkout flow
About NexaByte Full Stack Electronics eCommerce Store Next.js 15 Express MySQL
NexaByte is a full stack package for setting up an electronics webshop. The front end runs on Next.js 15 with the App Router and talks to an Express.js back end that uses Prisma and MySQL. The customer storefront covers cart, wishlist and checkout, and the admin dashboard handles products, orders, users and settings.
What's included
- Next.js frontend on port 3000 for server-rendered pages, routing and sign-in
- Express.js API on port 3001 with over 40 REST endpoints under /api
- Prisma schema with 14 models, covering products, categories, orders, customers, settings and auth tokens
- A command line script for creating the first admin user, plus full documentation
- Storefront pages for the homepage, catalog with filters, product page, cart, wishlist, checkout, search and contact
- Admin pages for dashboard stats, products with bulk CSV import and export, the order workflow, users, categories and settings
Built with
The stack is Next.js 15 with React 18 and TypeScript, Tailwind CSS with DaisyUI, Headless UI, Flowbite and Framer Motion on the front end. The API uses Express.js, Prisma ORM, a MySQL database, NextAuth.js v4, Zustand and ApexCharts. Images can be stored on AWS S3 or any S3-compatible provider, and transactional email uses Gmail OAuth2.
Good to know
The backend is included, but you connect your own MySQL database, S3-compatible storage and Gmail OAuth2 account. Checkout runs up to order placement, and no payment gateway is named. Setup means installing dependencies for both apps, configuring two .env files, pushing the Prisma schema and creating the first admin user.
View the live demo
More similar templates
Comments
Leave a Comment