Full stack e-commerce website developed using mern stack
Project has been hosted on vercel click to visit.
- username: admin@mail.com
- password: password
For successfull transaction use this card number: 4111111111111111
- For more information visit https://developer.paypal.com/braintree/docs/guides/credit-cards/testing-go-live/php
To run locally on your machine, follow these steps:
-
Clone the Repository
git clone https://github.com/U-Shashank/Swift-Cart.git
-
Navigate to Project Directory
cd Swift-Cart
-
Install Dependencies
npm install cd client npm install cd .. cd server npm install
-
Set Up Environment Variable
Backend api endpoint (This will change when server is deployed)
- VITE_HOST_URL = http://localhost:3000/api/v1
- PORT = 3000
- JWT_SECRET = YOUR_JWT_SECRET
- MONGO_URI = YOUR_MONGODB_CONNECTION_STRING
- Get the following from Braintree :
- MERCHANT_ID = YOUR_MERCHANT_ID
- PUBLIC_KEY = YOUR_PUBLIC_KEY
- PRIVATE_KEY = YOUR_PRIVATE_KEY
-
Run the App
npm run dev
Will start both server and client together using concurrently
- MongoDB
- Express.js
- Node.js
- React
- Tailwind
- JWT