Skip to content

Latest commit

 

History

History
134 lines (97 loc) · 4.29 KB

README.md

File metadata and controls

134 lines (97 loc) · 4.29 KB

Nike Snkrs Shop!(Kr)

wakatime wakatime wakatime wakatime

Introduction

Click me

https://scribehow.com/shared/Nike_Snkrs_Shop_tutorial__zFlCmjtzRjGBainXZA0gZQ

How to install and run the project?

 git clone https://github.com/resetmerlin/NikeSnkrShop.git

Run only Frontend

 cd frontend
 npm install
 npm start
 

Run Whole Application

  1. / directory에 env file 생성 필요

  2. 요구되는 키 값

  • JWT_SECRET
  • MONGO_URI
  • NODE_ENV(production or development)
  • PAYPAL_CLIENT_ID
  • PORT
 npm run build
 
 npm run dev

 cd frontend 

  1. vite.config.js에서 proxy /api url을 서버 url로 변경 필요
proxy: {
      "/api": "https://www.com:port",
    },

Nike Snkrs Shop!(En)

wakatime wakatime wakatime wakatime

Introduction

How to install and run the project?

 git clone https://github.com/resetmerlin/NikeSnkrShop.git

Run only Frontend

 cd frontend
 npm install
 npm start
 

Run Whole Application

  1. You need to create an env file on / directory

  2. The key and value that you need

  • JWT_SECRET
  • MONGO_URI
  • NODE_ENV(production or development)
  • PAYPAL_CLIENT_ID
  • PORT
 npm run build
 
 npm run dev

 cd frontend 

  1. You need to change your proxy /api url into your server url from vite.config.js
proxy: {
      "/api": "https://www.com:port",
    },