Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/1-blue/blegg

๐Ÿ”ฅ ๋ฆฌ๊ทธ์˜ค๋ธŒ๋ ˆ์ „๋“œ ์ „์  ๊ฒ€์ƒ‰ ํ”„๋กœ์ ํŠธ ๐Ÿ”ฅ
https://github.com/1-blue/blegg

aws-ec2 aws-s3 framer-motion nestjs passport prisma react-hook-form react-query reactjs storybook swagger tailwindcss typescript vite

Last synced: 1 day ago
JSON representation

๐Ÿ”ฅ ๋ฆฌ๊ทธ์˜ค๋ธŒ๋ ˆ์ „๋“œ ์ „์  ๊ฒ€์ƒ‰ ํ”„๋กœ์ ํŠธ ๐Ÿ”ฅ

Awesome Lists containing this project

README

        

> ๋„๋ฉ”์ธ์€ ๊ฐ€์ง€๊ณ  ์žˆ๋˜ ๊ฒƒ ์ค‘์—์„œ ์•„๋ฌด๊ฑฐ๋‚˜ ์‚ฌ์šฉํ–ˆ๊ธฐ ๋•Œ๋ฌธ์— ์‚ฌ์ดํŠธ์™€ ๋งž์ง€ ์•Š์Šต๋‹ˆ๋‹ค... ๐Ÿฅฒ

> ๋ฌด๋ฃŒ `Riot Api`๋ฅผ ์‚ฌ์šฉํ•˜๊ธฐ ๋•Œ๋ฌธ์— ์š”์ฒญ ์ˆ˜์˜ ์ œํ•œ์ด ์žˆ์–ด ์ •์ƒ์ ์œผ๋กœ ๋™์ž‘ํ•˜์ง€ ์•Š์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

> ๋˜ํ•œ ๋งค์ผ ์ƒˆ๋กœ์šด ํ‚ค๋กœ ์—…๋ฐ์ดํŠธํ•ด์ค˜์•ผ ํ•˜๊ธฐ ๋•Œ๋ฌธ์— ๋ฉ”์ธ / ์†Œํ™˜์‚ฌ ๊ฒ€์ƒ‰ ํŽ˜์ด์ง€๊ฐ€ ์ •์ƒ์ ์œผ๋กœ ์ž‘๋™ํ•˜์ง€ ์•Š์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

# ๐Ÿ“ฑ blegg
+ โœ๏ธ ๊ฐœ์ธ ํ”„๋กœ์ ํŠธ - ๋ฆฌ๊ทธ์˜ค๋ธŒ๋ ˆ์ „๋“œ ์ „์  ๊ฒ€์ƒ‰ ํ”„๋กœ์ ํŠธ
+ โฑ๏ธ ํ”„๋กœ์ ํŠธ ๊ธฐ๊ฐ„: `2023/06/19 ~ 2023/08/01`
+ โ›“๏ธ ๋ฐฐํฌ ๋งํฌ: [ํ”„๋กœ์ ํŠธ ๊ฒฐ๊ณผ๋ฌผ](https://bleshop.shop)
+ ๊ฐ€์งœ ๊ณ„์ •๋“ค
1. ์•„์ด๋””: ( ๋ธŒ๋ก ์ฆˆ ~ ์ฑŒ๋ฆฐ์ € ์˜๋ฌธ ) + "1"
2. ๋น„๋ฐ€๋ฒˆํ˜ธ: 123456789a!


# ๐Ÿ“ ๋ฌธ์„œ
1. [API ๋ช…์„ธ์„œ](https://bleshop.shop/swagger)
2. [GitHub Projects](https://github.com/users/1-blue/projects/4)
3. [Storybook](https://648fa14a937924b712976e49-jagdginlsz.chromatic.com/?path=/docs)


# ๐Ÿง‘โ€๐Ÿ’ป ๊ตฌํ˜„ ๊ธฐ๋Šฅ
1. [์ฑ”ํ”ผ์–ธ](https://github.com/1-blue/blegg/issues/2)
2. [์†Œํ™˜์‚ฌ ์ „์ ](https://github.com/1-blue/blegg/issues/5)
3. [์ธ์ฆ](https://github.com/1-blue/blegg/issues/8)
4. [์ปค๋ฎค๋‹ˆํ‹ฐ](https://github.com/1-blue/blegg/issues/11)
5. [ํ”„๋กœํ•„](https://github.com/1-blue/blegg/issues/14)
6. [๋ฆฌ๊ทธ](https://github.com/1-blue/blegg/issues/17)


# ๐ŸŽฉ Tech Stack

## ๐Ÿ› ๏ธ Tools
| Git | Github | SourceTree | Window 11 |
| :---: | :---: | :---: | :---: |
|

icon
|
icon
|
icon
|
icon
|


## ๐Ÿ“ค FrontEnd

| TypeScript | React.js | Vite | Storybook | TailwindCss | React-Query | Framer-Motion | React-Hook-Form |
| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
|

icon
|
icon
|
icon
|
icon
|
icon
|
icon
|
icon
|
icon
|


## ๐Ÿ“ฅ BackEnd

| TypeScript | Nest.js | Passport | JWT | Prisma | Swagger | S3 | EC2 |
| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
|

icon
|
icon
|
icon
|
icon
|
icon
|
icon
|
icon
|
icon
|

# ๐Ÿ’ก ๊ฐ€์ด๋“œ ๋ผ์ธ

## ๐Ÿ“ค FrontEnd

### 0๏ธโƒฃ ํ™˜๊ฒฝ ๋ณ€์ˆ˜ ๋“ฑ๋ก

+ `.env.development`

```
# ํ…Œ์ŠคํŠธ์šฉ ์„œ๋ฒ„ URL
VITE_SERVER_URL=http://localhost:3050
```

+ `.env.production`

```
# ๋ฐฐํฌ์šฉ ์„œ๋ฒ„ URL
VITE_SERVER_URL=https://bleshop.shop
```

### 1๏ธโƒฃ ์ข…์†์„ฑ ์„ค์น˜

```bash
$ cd frontend
$ npm install
```

### 2๏ธโƒฃ ๊ฐœ๋ฐœ ๋ชจ๋“œ ์‹คํ–‰

```bash
$ npm run dev
```

### 3๏ธโƒฃ ๋ฐฐํฌ ๋ชจ๋“œ ๋นŒ๋“œ

```bash
$ npm run build
```

## ๐Ÿ“ฅ BackEnd

### 0๏ธโƒฃ ํ™˜๊ฒฝ ๋ณ€์ˆ˜ ๋“ฑ๋ก

+ `.env`

```bash
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
```

### 1๏ธโƒฃ ์ข…์†์„ฑ ์„ค์น˜

```bash
$ cd backend
$ npm install
$ npm install pm2 -g
```

### 2๏ธโƒฃ DB ์„ธํŒ… ๋ฐ ์‹œ๋“œ ๋ฐ์ดํ„ฐ

```bash
$ npx prisma db push
$ npx prisma db seed
```

### 3๏ธโƒฃ ๊ฐœ๋ฐœ ๋ชจ๋“œ ์‹คํ–‰

```bash
$ npm run start:dev
```

### 4๏ธโƒฃ ๋ฐฐํฌ ๋ชจ๋“œ ๋นŒ๋“œ ๋ฐ ์‹คํ–‰

```bash
# ๋นŒ๋“œ
$ npm run build

# ์‹คํ–‰
$ npm run start:prod

# pm2๋กœ ์‹คํ–‰
$ pm2 start npm -- run start:prod
```

# ๐ŸŽฅ ์‹คํ–‰ ์˜์ƒ

## 0๏ธโƒฃ ๋ชจ๋“  ์ฑ”ํ”ผ์–ธ Carousel
![champions](https://github.com/1-blue/blegg/assets/63289318/feafec0f-b19b-43a4-a70b-be0a0f9ff786)

## 1๏ธโƒฃ ํŠน์ • ์ฑ”ํ”ผ์–ธ
![champion](https://github.com/1-blue/blegg/assets/63289318/644f1dc2-dcc7-4c78-b050-b37c2c4b42c6)

## 2๏ธโƒฃ ์†Œํ™˜์‚ฌ ์ „์ 
![Image](https://github.com/1-blue/blegg/assets/63289318/cabf6b4b-1e57-4957-b3a8-5eee64eff88b)

## 3๏ธโƒฃ ์†Œํ™˜์‚ฌ ์ „์  ๋ฐ˜์‘ํ˜•
![Image](https://github.com/1-blue/blegg/assets/63289318/adb8f4ac-b2e1-45d6-a11e-8fb778fdeb28)

## 4๏ธโƒฃ ํšŒ์›๊ฐ€์ž…/๋กœ๊ทธ์ธ
![Image](https://user-images.githubusercontent.com/63289318/252256248-f5e3b34a-01a5-4fb3-9672-d9271f0b5cd4.gif)

## 5๏ธโƒฃ OAuth ๋กœ๊ทธ์ธ
![Image](https://user-images.githubusercontent.com/63289318/252256249-5c259209-9634-444e-a596-93eb36c025b6.gif)

## 6๏ธโƒฃ ๊ฒŒ์‹œ๊ธ€ ์ƒ์„ฑ
![Image](https://github.com/1-blue/blegg/assets/63289318/ee10142e-23ab-43db-bf85-6df2529a9487)

## 7๏ธโƒฃ ๊ฒŒ์‹œ๊ธ€ ์กฐํšŒ
![Image](https://github.com/1-blue/blegg/assets/63289318/e6aecd98-e47d-4a07-97e8-bdb80d9d5613)

## 8๏ธโƒฃ ๊ฒŒ์‹œ๊ธ€ ์ˆ˜์ •
![Image](https://github.com/1-blue/blegg/assets/63289318/a847a163-7973-4cbc-8f83-dda9c4822de7)

## 9๏ธโƒฃ ๊ฒŒ์‹œ๊ธ€ ์ œ๊ฑฐ
![Image](https://github.com/1-blue/blegg/assets/63289318/63e00aef-d909-4cb4-8bb0-dd031018708a)

## 1๏ธโƒฃ0๏ธโƒฃ ๊ฒŒ์‹œ๊ธ€ ๊ฒ€์ƒ‰
![Image](https://github.com/1-blue/blegg/assets/63289318/f5529605-b5ba-4ed0-a912-59a5502beb59)

## 1๏ธโƒฃ1๏ธโƒฃ ๊ฒŒ์‹œ๊ธ€ ํ‰๊ฐ€ ( ์ข‹์•„์š”/์‹ซ์–ด์š” )
![Image](https://github.com/1-blue/blegg/assets/63289318/29770133-6d81-493b-b980-f00a74b5ae19)

## 1๏ธโƒฃ2๏ธโƒฃ ๋Œ“๊ธ€ CRUD
![Image](https://github.com/1-blue/blegg/assets/63289318/db8465d2-e8b6-4798-8ace-ce33fe97fb4d)

## 1๏ธโƒฃ3๏ธโƒฃ ๋‹ต๊ธ€ CRUD
![Image](https://github.com/1-blue/blegg/assets/63289318/353dfce8-29f0-418b-87cd-8a2600afb85a)

## 1๏ธโƒฃ4๏ธโƒฃ ํ”„๋กœํ•„ ํŽ˜์ด์ง€ ๊ฒŒ์‹œ๊ธ€๋“ค ( ์ž‘์„ฑ/์ข‹์•„์š”/์‹ซ์–ด์š”ํ•œ )
![Image](https://github.com/1-blue/blegg/assets/63289318/9c172663-7a56-4a7e-b464-ccbb9378c3bb)

## 1๏ธโƒฃ5๏ธโƒฃ ํ”„๋กœํ•„ ์ˆ˜์ •
![Image](https://github.com/1-blue/blegg/assets/63289318/6f999308-c3a7-4162-9d8e-0b9bebe2531a)

## 1๏ธโƒฃ6๏ธโƒฃ ์ƒ์œ„ ๋ฆฌ๊ทธ ์œ ์ €๋“ค ๋ Œ๋”๋ง
![Image](https://user-images.githubusercontent.com/63289318/257180011-2d71b464-2e32-4ac7-bdca-230bce3f07c7.gif)