This Ecommerce application provides a seamless online shopping experience with client and admin panels. The server is built with Node.js and Express, using JWT for authentication. Integration of PayPal and Stripe APIs ensures secure payment processing. The app includes features such as a purchase summary and sending it by email, as well as a password reset functionality that sends a recovery email using Nodemailer. MongoDB serves as the database with the Mongoose ODM for easy interaction.
This is the introduction to getting started with your project...
To get started with the application, follow these steps:
git clone <url-clone>
install node_modules in server
cd server
npm install
npm start
install node_modules in frontend
cd frontend
npm install
npm run dev
add .env file
PORT =
MONGODB_CONNECTION=
JWT_SECRET=
# for connect to Paypal api
PAYPAL_CLIENT_ID=
BASE_URL=
# for send a email from code
EMAIL=
PWD_EMAIL=
# for connect to Stripe api
STRIPE_PUBLISHABLE_KEY=
STRIPE_SECRET_KEY=
# for store the images in cloud
CLOUDINARY_NAME=
CLOUDINARY_API_KEY=
CLOUDINARY_API_SECRET=
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.