๋๋ฉ์ธ์ ๊ฐ์ง๊ณ ์๋ ๊ฒ ์ค์์ ์๋ฌด๊ฑฐ๋ ์ฌ์ฉํ๊ธฐ ๋๋ฌธ์ ์ฌ์ดํธ์ ๋ง์ง ์์ต๋๋ค... ๐ฅฒ
๋ฌด๋ฃRiot Api
๋ฅผ ์ฌ์ฉํ๊ธฐ ๋๋ฌธ์ ์์ฒญ ์์ ์ ํ์ด ์์ด ์ ์์ ์ผ๋ก ๋์ํ์ง ์์ ์ ์์ต๋๋ค.
๋ํ ๋งค์ผ ์๋ก์ด ํค๋ก ์ ๋ฐ์ดํธํด์ค์ผ ํ๊ธฐ ๋๋ฌธ์ ๋ฉ์ธ / ์ํ์ฌ ๊ฒ์ ํ์ด์ง๊ฐ ์ ์์ ์ผ๋ก ์๋ํ์ง ์์ ์ ์์ต๋๋ค.
- โ๏ธ ๊ฐ์ธ ํ๋ก์ ํธ - ๋ฆฌ๊ทธ์ค๋ธ๋ ์ ๋ ์ ์ ๊ฒ์ ํ๋ก์ ํธ
- โฑ๏ธ ํ๋ก์ ํธ ๊ธฐ๊ฐ:
2023/06/19 ~ 2023/08/01
- โ๏ธ ๋ฐฐํฌ ๋งํฌ: ํ๋ก์ ํธ ๊ฒฐ๊ณผ๋ฌผ
- ๊ฐ์ง ๊ณ์ ๋ค
- ์์ด๋: ( ๋ธ๋ก ์ฆ ~ ์ฑ๋ฆฐ์ ์๋ฌธ ) + "1"
- ๋น๋ฐ๋ฒํธ: 123456789a!
Git | Github | SourceTree | Window 11 |
---|---|---|---|
TypeScript | React.js | Vite | Storybook | TailwindCss | React-Query | Framer-Motion | React-Hook-Form |
---|---|---|---|---|---|---|---|
TypeScript | Nest.js | Passport | JWT | Prisma | Swagger | S3 | EC2 |
---|---|---|---|---|---|---|---|
.env.development
# ํ
์คํธ์ฉ ์๋ฒ URL
VITE_SERVER_URL=http://localhost:3050
.env.production
# ๋ฐฐํฌ์ฉ ์๋ฒ URL
VITE_SERVER_URL=https://bleshop.shop
$ cd frontend
$ npm install
$ npm run dev
$ npm run build
.env
PORT=3050
NODE_ENV=development
# NODE_ENV=production
# db
DATABASE_URL=
# auth
JWT_SECRET=
# riot
RIOT_API_KEY=
RIOT_VERSION=13.14.1
RIOT_LANGUAGE=ko_KR
# aws ( s3-full-access )
AWS_S3_BUCKET=blegg
AWS_S3_REGION=ap-northeast-2
AWS_S3_ACCESS_KEY=
AWS_S3_ACCESS_SECRET_KEY=
# oauth
FRONT_CALLBACK_URL=http://localhost:5173/oauth
# FRONT_CALLBACK_URL=https://bleshop.shop/oauth
# google oauth
GOOGLE_CLIENT_ID=
GOOGLE_SECRET=
GOOGLE_OAUTH_CALLBACK_URL=http://localhost:3050/auth/google/redirect
# GOOGLE_OAUTH_CALLBACK_URL=https://bleshop.shop/auth/google/redirect
# kakao oauth
KAKAO_CLIENT_ID=
KAKAO_SECRET=
KAKAO_OAUTH_CALLBACK_URL=http://localhost:3050/auth/kakao/redirect
# KAKAO_OAUTH_CALLBACK_URL=https://bleshop.shop/auth/kakao/redirect
# naver oauth
NAVER_CLIENT_ID=
NAVER_SECRET=
NAVER_OAUTH_CALLBACK_URL=http://localhost:3050/auth/naver/redirect
# NAVER_OAUTH_CALLBACK_URL=https://bleshop.shop/auth/naver/redirect
$ cd backend
$ npm install
$ npm install pm2 -g
$ npx prisma db push
$ npx prisma db seed
$ npm run start:dev
# ๋น๋
$ npm run build
# ์คํ
$ npm run start:prod
# pm2๋ก ์คํ
$ pm2 start npm -- run start:prod