Skip to content

jeehzx/PalaceSugar-Ecommerce

Repository files navigation

E-commerce Website (PalaceSugar)

I'm beginner web dev, this is an e-commerce project developed using Next.js, MongoDB, DaisyUI, Zustand, Bcrypt.js, and NextAuth. The goal of this project is to create an online platform for selling.

Technologies Used

  • Next.js: React framework for server-side rendering (SSR) and static site generation (SSG).
  • MongoDB: NoSQL database for storing product, user, and order information.
  • DaisyUI: CSS framework for Tailwind CSS that facilitates creating responsive and stylish interfaces.
  • Zustand: Library for managing global state in React applications simply and efficiently.
  • Bcrypt.js: Library for hashing user passwords before storing them in the database.
  • NextAuth: Authentication library for Next.js supporting various authentication providers (OAuth, JWT, etc.).

Main Features

  • User Authentication: Secure registration and login using NextAuth.
  • Product Catalog: Display of products with images.
  • Shopping Cart: Functionality to add products to the cart and place orders.
  • State Management: Use of Zustand to manage the application's global state efficiently.
  • Security: User passwords are hashed using Bcrypt.js before being stored in MongoDB.

Run Locally

1. Clone the Repository

 $ git clone git@github.com:jeehzx/PalaceSugar-Ecommerce.git
 $ cd PalaceSugar-Ecommerce

2. Create .env File

  • You can copy .env.example and rename it to .env and change to your personal settings.

Contributions

Contributions are welcome! Feel free to open an issue or submit a pull request with improvements or bug fixes.

Releases

No releases published

Packages

No packages published

Languages