ecommerce_react_node
ecommerce_react_node copied to clipboard
An e-commerce website built with Node.js, React and MongoDB
https://user-images.githubusercontent.com/84639970/226336865-730156f4-196f-4787-bb6b-2c5ecf09a123.mp4
Run the Project
Backend
- you have to enter the backend folder by typing
cd backend
in the terminal - In the project directory,Install libraries by typing
yarn
- Open a new file named .env
MONGO_URI=mongodb+srv://user:[email protected]/?retryWrites=true&w=majority
JWT_SECRET=sdgkMKEVlm3v23kl_n423vGG3b_TVnm234xnv23
JWT_REFRESH_SECRET=rerv1jv15v1CVBnasd23jnv1j3123nvrqwr23
- and type your mongodb URI
- Then Run backend project with
yarn dev
Frontend
- you have to enter the frontend folder by typing
cd frontend
in the terminal - In the project directory,Install libraries by typing
yarn
- Then Run backend project with
yarn start
- You can reach the project from localhost:3000
Libraries
backend
- accesscontrol
- bcrypt
- boom
- cors
- dotenv
- express
- ioredis
- joi
- jsonwebtoken
- mongoose
- sucrase
frontend
- @chakra-ui/react
- antd
- axios
- formik
- framer-motion
- moment
- react-dom
- react-image-gallery
- react-query
- react-router-dom
- react-scripts
- web-vitals
- yup
database
- MongoDB
Learn More
You can learn more in the Create React App documentation.
To learn React, check out the React documentation.