Skip to content

kerberos727/ecommerce-next.js

Repository files navigation

Ecommerce

Building ecommerce website with React Js + Next Js + TypeScript + Node Js + Express + MongoDB + Material-UI + Tailwind-CSS ⚡️ Made with developer experience first ESLint + Prettier + VSCode setup with complete user authentication (a mobile-friendly).

Technologies

Client:

  • React Js
  • Next Js
  • TypeScript
  • Redux
  • Tailwind CSS
  • Material-UI
  • Material-UI
  • Vercel Hosting

Server:

  • Node.js
  • Express
  • MongoDB
  • JSON Web Token (JWT)
  • bcryptjs
  • Heroku Hosting

Optimizations

  • Next' Js Image component
  • Next' Js file-system based router
  • Next' Js Server-side rendering
  • Memoization (useMemo, Memo)
  • Function components
  • React hooks
  • React useEffect cleanup
  • TypeScript

Features

(Users)
  • Complete user authentication
  • Users can sign in
  • Users can sign out
  • Users can verify email
  • Users can Change Password
  • View all products
  • View products detail
  • Filter products by category
  • Search for products
  • Add products to their basket
  • Checkout total payment
  • Checkout order page
  • Products pagination
  • Stripe Checkout/Payments (TODO)
(Admin)
  • Complete Admin Authorization
  • Add products
  • Update products
  • Delete products
  • Limit Products
  • Add Users
  • Update Users
  • Delete Users
  • Update User Role

Contributing

Contributions are always welcome!

Run_Locally

Clone the project

Go to the project directory

Install dependencies

yarn install
# or
npm install

Start the server

npm run dev
# or
yarn dev

ESLint + Prettier + Lint-Staged Check

yarn lint
# check-types errors
yarn check-types
# check code format
yarn check-format
# check lint errors
yarn check-lint
# format code and fix prettier erros
yarn format
# test all ESLint + Prettier + types erros
yarn test-all
# or if You're using npm you can use npm instead of yarn for all the above ESLint + Prettier + Lint-Staged Check steps

Screenshots

Signup Page

image

image

LogIn Page

image

image

Forgot Password Page

image

image

image

Reset Password email Link

image

Reset Password Page

image

image

Update Profile Page

image

Home Page

image

Home Page (Filter by category(Bookks))

image

Home Page (Filter by category(Sports))

image

Home Page (Filter by category(Toys))

image

Home Page (Filter by category(Men's clothing))

image

Home Page (Search Product (Jewelery))

image

Product Detail Page

image

Shopping Cart Page

image

Orders Page

image

Admin Products Page

image

Admin Users Page

image

Admin Users Table Page

image

Admin Add Product Page

image

image

Admin Update Product Page

image

Admin Add User Page

image

image

Admin Update User Page

image

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published