Skip to content

Simple ecommerce react js app with ReactJS TailwindCSS for the client and NodeJS MongoDB for the server.

Notifications You must be signed in to change notification settings

supakunz/E-commerce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

84 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

E-commerce

A full-stack e-commerce application built with ReactJS + TailwindCSS on the frontend, and NodeJS + MongoDB on the backend. Supports secure authentication, payment with Stripe, cloud image upload, and admin management.

Image

πŸš€ Live Demo

πŸŽ₯ Watch demo video :

Demolive_e-commerce.mp4

🌐 Try it live here :

πŸ‘‰ Click here to open the app

πŸ”₯ Features

  • πŸ” Secure authentication system (with access roles for user/admin)
  • πŸ›’ Product listing with full CRUD (admin only)
  • πŸ’³ Stripe payment integration
  • 🌀️ Image upload via Cloudinary
  • πŸ“± Fully responsive layout
  • ⬆️ Scroll-to-top and smooth navigation
  • βš™οΈ RESTful APIs for frontend-backend interaction

πŸ€ Tech Stack

Frontend :

  • ReactJS
  • AOS
  • Axios
  • Slick
  • TailwindCSS

Backend :

  • NodeJS
  • ExpressJS

Database :

  • MongoDB

External Services :

  • Stripe (payment)
  • Cloudinary (image storage)

❄️ Installation

  1. Clone this repository :
git clone https://github.com/SupakunZ/E-commerce.git
  1. Navigate to the project folder and install dependencies :
cd E-commerce
npm install
  1. Set up the environment variables :
  • Create a .env.local file in the client and server root directory.

  • Add the following variables to the .env file on client, replacing the placeholder values with your own:

VITE_APP_API = http://localhost:4000
VITE_STRIPE_PUBLIC_KEY = <your_stripe_public_key>
  • Add the following variables to the .env file on server, replacing the placeholder values with your own:
PORT = 4000
MONGO_URL = <your_mongoDB_url>
CLIENT_URL = http://localhost:5173 #onLocal
CLOUDINARY_NAME = <your_cloudinary_name>
CLOUDINARY_API_KEY = <your_cloudinary_api_key>
CLOUDINARY_API_SECRET = <your_cloudinary_api_secret>
STRIPE_SECRET_KEY = <your_stripe_secret_key>
STRIPE_ENDPOINT_SECRET = <your_stripe_endpoint_secret>
  1. Launch the application in development mode :
npm run dev

πŸ™‹β€β™‚οΈ Contact

Developed by Supakun Thata
πŸ“§ Email: [email protected]
πŸ”— GitHub: SupakunZ

About

Simple ecommerce react js app with ReactJS TailwindCSS for the client and NodeJS MongoDB for the server.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published