Top

Next.Js Documentation

E-Commerce offers stunning and one-of-a-kind website demos tailored to your grocery, bakery, and online store needs. With E-Commerce, you'll find everything you require to craft the ideal website for your business. E-Commerce - your all-in-one solution!

Welcome to E-Commerce Portal & Website !

Is E-Commerce a pure Next.Js Application?
Yes!
You read correctly — it’s a fully functional, modern Next.js 14–based E-Commerce platform with a Node.js backend API and PostgreSQL database.
No jQuery. No old-school scripts.
Just a blazing-fast, SEO-friendly, scalable web app built for real-time performance.

This documentation will guide you step-by-step through the installation, folder structure, and theme layout to help you understand, customize, and scale your project effortlessly.


Follow the documentation carefully to solve most issues in minutes. If you face difficulties even after following all steps, you can raise a ticket via your internal developer support channel.

Dependencies

  • Next.js-14
  • Bootstrap-5
  • Scss.
  • Node.js 18+
  • JWT Authentication
  • PostgreSQL 15+

This documentation covers all core concepts, setup guides, and customization options used in the theme.

Folder Structure

A clean and consistent folder structure helps maintain scalability and developer productivity.

goodesi/
├── public/ # Static assets (images, icons)
│ ├── assets
├── src/
│ ├── app
│    └── (MainBody)/ # Next.js 14 App Router
│    └── api/ # All APIs
│    └── i18n/ # Support MultiLanguage text
│    └── layout.js
│ ├── Components # All Componets
│ ├── Context # Created Context
│ ├── Data
│ ├── Elements
│ ├── Layout
│ ├── lib
│ ├── services
│ ├── Utils # HOC, HOOKS etc. created here
│ ├── middleware.js

├── server.js # VPS Deployment code
├── .gitingone
├── next.config.mjs
├── package.json
└── .env

goodesiBackend / # ADMIN PANEL
├── public/ # Static assets (images, icons)
│ ├── assets
├── src/
│ ├── app
│    └── (AuthLayout)/ # Authentication Layout
│      └── auth/ # Authentication Folder
│        │── forget-password/
│        │── login/
│        │── otp-verfication/
│        └── update-password/
│      └── layout.js # Authentication Layout
│    └── (MainLayout)/ # Next.js 14 App Router
│    └── api/ # All APIs
│    └── i18n/ # Support MultiLanguage text
│    └── layout.js
│    └── not-found.js
│ ├── Components # All Componets
│ ├── config # apis endpoint
│ ├── Data
│ ├── Elements
│ ├── Helper
│    └── #Context here
│ ├── Layout
│    └── #Heder Footer and sidebar here
│ ├── services
│    └── #api services here
│ ├── store/ # Redux store here
│    └── slice/ # Redux store here
│ ├── Utils/ # HOC, HOOKS etc. created here
│ ├── middleware.js

├── server.js # VPS Deployment code
├── .gitingone
├── next.config.mjs
├── package.json
└── .env

goodesiNode / # Node js APIs
├── migrations/ # All db tables migration files
├── src/
│ ├── config
│    └──db.js # database setup
│    └──retryOnDeadlock.js # deadlock Prevents
│    └──server.js # VPS setup
│    └──socialAuth.js # social media login
│    └──spHandler.js # store producture handler
│ ├── controllers/ # All controllers here
│ ├── logs/ # Product upload log
│ ├── middlewares/ # All middlewares here
│ ├── models/ # All models here
│ ├── public/ # All models here
│    └──uploads # upload Images
│ ├── routes/ # All routes here
│ ├── services/ # All Services here
│ ├── task/ # All timers here
│ ├── validations/ # All validations here
│ ├── utils/ # All utils functions here
│ ├── app.js # main app file
├── generate-jwt.js # Generate jwt credention here
├── .gitingone
├── .migrate.js #migratation config
├── next.config.mjs
├── package.json
└── .env

Theme Layouts:

With multiple customization options , we can create many different page layouts. Its upto your imagination , how you use the options and implement them in your website. But to give you a starting point , we have used all the available customization options and made a few different layouts. You can use them to get some inspiration for you own website or use them as they are..