Skip to content

Latest commit

 

History

History
73 lines (53 loc) · 1.43 KB

README.md

File metadata and controls

73 lines (53 loc) · 1.43 KB
ecommerce.720p.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:passworrd@seyit.jwhpjae.mongodb.net/?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.