Skip to content

seyityahya/ecommerce_react_node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 

Repository files navigation

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.