zoaseo
To Infinity And Beyond
zoaseo
전체 방문자
오늘
어제
  • 분류 전체보기 (763)
    • 개발이 좋아서 (381)
      • SAP가 좋아서 (3)
      • Java가 좋아서 (42)
      • Spring이 좋아서 (50)
      • JPA가 좋아서 (0)
      • QueryDSL이 좋아서 (26)
      • Docker가 좋아서 (7)
      • Redis가 좋아서 (7)
      • AWS가 좋아서 (5)
      • CI/CD가 좋아서 (6)
      • Troubleshooting이 좋아서 (4)
      • Kotlin이 좋아서 (7)
      • SQL이 좋아서 (6)
      • HTTP가 좋아서 (21)
      • JavaScript가 좋아서 (30)
      • TypeScript가 좋아서 (6)
      • Vue가 좋아서 (21)
      • Flutter가 좋아서 (61)
      • React가 좋아서 (20)
      • Redux(React)가 좋아서 (2)
      • Angular가 좋아서 (22)
      • HTML이 좋아서 (9)
      • CSS가 좋아서 (15)
      • PHP가 좋아서 (9)
      • Illustrator가 좋아서 (2)
    • 노력이 좋아서 (169)
    • 결과물이 좋아서 (14)
    • 코딩연습이 좋아서 (168)
      • 이론이 좋아서 (62)
      • SQL이 좋아서 (90)
    • 유용한 사이트가 좋아서 (28)
    • Github (2)

인기 글

티스토리

hELLO · Designed By 정상우.
zoaseo

To Infinity And Beyond

<step73>'react_shoppingmall홈페이지 구현_step_final'
노력이 좋아서

<step73>'react_shoppingmall홈페이지 구현_step_final'

2022. 7. 5. 09:51

1) 

클라우드 

서버배포 heroku

 

lamp-shopping-server

index.js -> index_node.js

server.js -> index.js

index.js 에서 port 변경

package.json에 start부분 추가

git add .

git commit -m "서버 배포 준비 완료"

git push

회원가입 ->

https://www.heroku.com/

 

Cloud Application Platform | Heroku

Heroku is a platform as a service (PaaS) that enables developers to build, run, and operate applications entirely in the cloud.

www.heroku.com

로그인 후 -> create new app

create app하고 난 뒤 다운로드

Heroku CLI. 설치->

64비트 다운로드
heroku login

deploy->

git push heroku main
open app
JSONVue로 보기

react 배포 vercel

 

lamp-shopping-client

데이터베이스 주소 heroku주소로 변경

lamp-shopping-server

imageUrl 주소 변경

imageUrl: "https://lamp-shopping-server-zoaseo.herokuapp.com/"+file.destination+file.filename

다시 헤로쿠 배포

 

lamp-shopping-client

git 배포

https://vercel.com/

 

Develop. Preview. Ship. For the best frontend teams – Vercel

Deploy web projects with the best frontend developer experience and highest end-user performance.

vercel.com

로그인->

https://lamp-shopping-client-blond.vercel.app/

 

React App

 

lamp-shopping-client-blond.vercel.app

 

'노력이 좋아서' 카테고리의 다른 글

<step74>'php_도서목록,등록,상세보기_복습'  (0) 2022.07.06
<step73>'react_hook-react_useCallback/useMemo'  (0) 2022.07.05
<step72>'react_shoppingmall홈페이지 구현_step7'  (0) 2022.07.04
<step72>'react_shoppingmall홈페이지 구현_step6'  (0) 2022.07.04
<step72>'react_shoppingmall홈페이지 구현_step5'  (0) 2022.07.04

    티스토리툴바