GithubHelp home page GithubHelp logo

maheraladdin / clothes-ecommerce-admin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xroobix/clothes-ecommerce-admin

0.0 0.0 0.0 208 KB

Clothes-ecommerce is a powerful full-stack e-commerce application built using Next.js, React, Prisma, PlanetScale, MySQL, Zustand, Clerk and Stripe. It provides a seamless shopping experience with Clerk serving as the authenticator and Stripe handling secure payments. The state management is handled by Zustand. The application leverages Next.

Home Page: https://clothes-ecommerce-admin.vercel.app

JavaScript 1.35% TypeScript 97.73% CSS 0.93%

clothes-ecommerce-admin's Introduction

Full Stack E-Commerce + Dashboard & CMS: Next.js 13 App Router, React, Tailwind, Prisma, MySQL

For Admin DEMO, use @Vercel For Store DEMO, use @Vercel

Store repo @Github

Built with

  • TypeScript
  • TailwindCSS - A utility-first CSS framework
  • React - JS library
  • NextJS - Next.js enables you to create full-stack Web applications by extending the latest React features
  • Prisma - Next-generation Node.js and TypeScript ORM
  • PlanetScale - PlanetScale is the world’s most advanced serverless MySQL platform
  • MySQL - Relational database management system
  • Zustand - A small, fast and scalable bearbones state-management solution using simplified flux principles.
  • Clerk - Integrate complete user management UIs and APIs, purpose-built for React, Next.js, and the Modern Web.
  • Stripe - Suite of APIs powering online payment processing and commerce solutions for internet businesses of all sizes.
  • shadcn UI - Beautifully designed components that you can copy and paste into your apps. Accessible. Customizable. Open Source.

Key Features:

  • Admin dashboard serve as both CMS, Admin and API!
  • Ability to control mulitple vendors / stores through this single CMS! (For example you can have a "Shoe store" and a "Laptop store" and a "Suit store", and CMS will generate API routes for all of those individually!)
  • Ability to create, update and delete categories!
  • Ability to create, update and delete products!
  • Ability to upload multiple images for products, and change them whenever you want!
  • Ability to create, update and delete filters such as "Color" and "Size", and then match them in the "Product" creation form.
  • Ability to create, update and delete "Billboards" which are these big texts on top of the page. Ability to attach them to a single category, or use them standalone (Admin generates API for all of those cases!)
  • Ability to Search through all categories, products, sizes, colors, billboards with included pagination!
  • Ability to control which products are "featured" so they show on the homepage!
  • Ability to see your orders, sales, etc.
  • Ability to see graphs of your revenue etc.
  • Clerk for authentication
  • Order creation
  • Stripe for payment
  • MySQL + Prisma + PlanetScale

Prerequisites

Node version 14.x

Cloning the repository

git clone https://github.com/xroobix/clothes-ecommerce-admin.git

Install packages

pnpm i

Setup .env file

NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/

# This was inserted by `prisma init`:
# Environment variables declared in this file are automatically made available to Prisma.
# See the documentation for more detail: https://pris.ly/d/prisma-schema#accessing-environment-variables-from-the-schema

# Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB.
# See the documentation for all the connection string options: https://pris.ly/d/connection-strings

DATABASE_URL=''
NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME=""
STRIPE_API_KEY=
FRONTEND_STORE_URL=http://localhost:3001
STRIPE_WEBHOOK_SECRET=

Connect to PlanetScale and Push Prisma

pnpm exec prisma generate
pnpm exec prisma db push

Start the app

pnpm run dev

clothes-ecommerce-admin's People

Contributors

xroobix avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.