Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
๐ฅ ๋ฆฌ๊ทธ์ค๋ธ๋ ์ ๋ ์ ์ ๊ฒ์ ํ๋ก์ ํธ ๐ฅ
- Host: GitHub
- URL: https://github.com/1-blue/blegg
- Owner: 1-blue
- Created: 2023-06-19T00:08:38.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-08-02T04:16:00.000Z (over 1 year ago)
- Last Synced: 2024-11-10T07:25:51.925Z (about 2 months ago)
- Topics: aws-ec2, aws-s3, framer-motion, nestjs, passport, prisma, react-hook-form, react-query, reactjs, storybook, swagger, tailwindcss, typescript, vite
- Language: TypeScript
- Homepage: https://bleshop.shop
- Size: 2.92 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 |
| :---: | :---: | :---: | :---: |
|
## ๐ค FrontEnd
| TypeScript | React.js | Vite | Storybook | TailwindCss | React-Query | Framer-Motion | React-Hook-Form |
| | | | | | | |
| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
|
## ๐ฅ BackEnd
| TypeScript | Nest.js | Passport | JWT | Prisma | Swagger | S3 | EC2 |
| | | | | | | |
| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
|# ๐ก ๊ฐ์ด๋ ๋ผ์ธ
## ๐ค 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)