An Ecommerce website using Node.js, React.js, Express.js, MongoDB
The website resembles a real store and you can add products to your cart and wishlist and pay for them.
Client: React, Redux, Redux-Thunk, TailwindCSS
Server: Node, Express
Database: mongoDB
Services: Nodemailer, Twilio
JWT, Google auth
Users can do following:
- Create an account, login or logout.
- Login and Signup with Google auth.
- View user profile.
- edit user profile.
- Change password.
- Add multiple addressess.
- Edit, Delete addressess.
- Browse available products.
- Add products to the shopping cart and wishlist.
- View products in the shopping cart and wishlist.
- Delete products from the shopping cart and wishlist.
Admin can do following:
- Login or logout to the admin panel
- Add, Edit, Delete products.
- Add, Edit, Delete product category
- Manage all Users
To run this project, you will need to add the following environment variables to your .env file
Server:
TWILIO_SERVICE_SID
TWILIO_ACCOUNT_SID
TWILIO_AUTH_TOKEN
JWT_SECRET
JWT_EXPIRE_TIME
SMTP_EMAIL
SMTP_PASSWORD
SMTP_FROM_NAME
SMTP_HOST
SMTP_SERVICE
SMTP_PORT
SMTP_SECURE
BASE_URL
GOOGLE_CLIENT_ID
Client :
REACT_APP_GOOGLE_CLIENT_ID
Clone the project
git clone https://github.com/sreeshilck/Lapscart.git
Go to the project client directory
cd my-Lapscart/client
Install dependencies
npm install
Start the client
npm run start
Go to the project server directory
cd my-Lapscart/server
Install dependencies
npm install
Start the server
npm start