E-commerce Website is developed using ReactJS TailwindCSS for the client and NodeJS MongoDB for the server.
Demolive_e-commerce.mp4
- A robust authentication system ensures user data is safeguarded and protected.
- Includes a smooth scroll-to-top feature for effortless navigation and improved usability.
- Supports secure and reliable payments via Stripe. Helps users to make transactions easily.
- Access rights are carefully differentiated, providing distinct privileges for users and admins.
- The website is fully responsive, adapting flawlessly to all devices, from desktops to smartphones.
- Seamless access control is implemented via APIs, ensuring secure and efficient permission management.
- An intuitive admin panel enables the addition, editing, and deletion of products and users with ease.
Frontend :
- ReactJS
- AOS
- Axios
- Slick
- TailwindCSS
Backend :
- NodeJS
- ExpressJS
Database :
- MongoDB
Platform :
- Stripe
- Cloudinary
- Clone this repository :
git clone https://github.com/SupakunZ/E-commerce.git
- Navigate to the project folder and install dependencies :
cd E-commerce
npm install
- 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>
- Launch the application in development mode :
npm run dev