Skip to content

Commit

Permalink
docs: Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Haewonny authored Jun 19, 2024
1 parent 46a7a6a commit c4344c5
Showing 1 changed file with 115 additions and 0 deletions.
115 changes: 115 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
# ONCE-BE
> Once : ์นด๋“œ ๋‹ค๋ณด์œ ์ž๋ฅผ ์œ„ํ•œ ๊ฒฐ์ œ ์ „ ์ตœ๋Œ€ ํ• ์ธ ์นด๋“œ ์ถ”์ฒœ AI ์ฑ—๋ด‡ ์„œ๋น„์Šค
## ๐Ÿ› ๏ธ Tech Stack
- Java 17
- Spring Boot 3
- MySQL 8.0.35
- Docker
- OpenAI
- CODEF API


## โ˜๏ธ How to run
1. Clone project
```bash
$ git clone https://github.com/EWHA-LUX/ONCE-BE.git
```

2. Set environment variable<br>
2-1. Add `src/main/resources/firebase/once-firebase-adminsdk.json`<br>
&emsp;&emsp;Download firebase-admin sdk json โ–บ [Click here!](https://firebase.google.com/docs/admin/setup?hl=ko#initialize_the_sdk_in_non-google_environments)<br><br>
2-2. Add `src/main/resources/application.properties`<br>
```yaml
# Database
SPRING_DATABASE_URL=(YOUR_RDS_ENDPOINT)
SPRING_DATASOURCE_PASSWORD=(YOU_RDS_PASSWORD)
# JWT
JWT_SECRET_KEY=(YOUR_JWT_KEY)
# S3
AWS_S3_ACCESSKEY=(YOUR_S3_ACCESSKEY)
AWS_S3_SECRETKEY=(YOUR_S3_SECRETKEY)
AWS_S3_BUCKET=(YOUR_S3_BUCKET_NAME)
AWS_S3_REGION=(YOUR_S3_REGION)
# GPT
OPENAI_MODEL=(YOUR_GPT_MODEL_ID)
OPENAI_KEY=(YOUR_OPENAI_API_KEY)
# AES
AES_ENCRYPTION_KEY=(YOUR_AES_KEY)
# CODEF
CLIENT_ID=(YOUR_CODEF_CLIENT_ID)
SECERET_KEY=(YOUR_CODEF_SECERET_KEY)
ACCESS_TOKEN=(YOUR_CODEF_ACCESS_TOKEN)
# Google Maps
GOOGLE_CLOUD_API_KEY=(YOUR_GOOGLE_API_KEY)
```

3. Run `OnceApplication.java`

## ๐Ÿ—„๏ธ Once ERD
<p align="center">
<img src="https://github.com/EWHA-LUX/ONCE-BE/assets/100216331/4f1951ac-507d-4b7b-8943-9d2e8ae8db32" width="700"/>
</p>

## ๐Ÿ“ API Documents
<details>
<summary>ํŽผ์ณ ๋ณด๊ธฐ</summary>

|Feature|URI|
|--|--|
|[ํšŒ์›๊ฐ€์ž…](https://haewonny.notion.site/81e4d32d4d5046a09caaafd3d712e0b0)|`POST /user/signup`|
|[์•„์ด๋”” ์ค‘๋ณต ํ™•์ธ](https://www.notion.so/haewonny/eb19e5efa62945558280e0c8fdb11f30)|`GET /user/duplicate?loginId=์•„์ด๋””`|
|[์ž๋™๋กœ๊ทธ์ธ](https://www.notion.so/haewonny/a26a0b011b6a4fb79f43e387d4ee3579?pvs=4)|`POST /user/auto`|
|[๋กœ๊ทธ์ธ](https://www.notion.so/haewonny/b38bec0d9a5440f9a796eb6d69d6a80f?pvs=4)|`POST /user/login`|
|[๊ธฐ๊ธฐ ํ† ํฐ ์ €์žฅ ](https://www.notion.so/48d0fd9115df40329503ff83e18f3715?pvs=21)|`POST /user/token`|
|[ํšŒ์› ํƒˆํ‡ด](https://www.notion.so/681060114c1349a5b477217b7a1b997a?pvs=21)|`DELETE /user/quit`|
|[๋น„๋ฐ€๋ฒˆํ˜ธ ํ™•์ธ](https://www.notion.so/b366e8dacecb447db6c97be4b9eaf717?pvs=21)|`POST /user/edit/pw`|
|[๋น„๋ฐ€๋ฒˆํ˜ธ ๋ณ€๊ฒฝ](https://www.notion.so/d31c6be979894c06a93a253da493c5bc?pvs=21)|`PATCH /user/edit/pw`|
|[์•„์ด๋”” ์ฐพ๊ธฐ](https://www.notion.so/67c76b1e8d424061892bb092e6b53bb1?pvs=21)|`POST /user/find/id`|
|[๋น„๋ฐ€๋ฒˆํ˜ธ ์ฐพ๊ธฐ](https://www.notion.so/562c51c122e4458ea7e9103fc60f6067?pvs=21)|`POST /user/find/pw`|
|[๋‚ด ์ •๋ณด ์ˆ˜์ •ํ•˜๊ธฐ ํŽ˜์ด์ง€](https://www.notion.so/6109536b5380418287af0e4998fe922f?pvs=21)|`GET /user/edit`|
|[ํšŒ์› ์ •๋ณด ์ˆ˜์ •](https://www.notion.so/bb4d955235b04f489e0a60d520b8a249?pvs=21)|`PATCH /user/edit`|
|[ํ”„๋กœํ•„ ์ด๋ฏธ์ง€ ์ˆ˜์ •(๋“ฑ๋ก)](https://www.notion.so/5c0588ab85e5468ba9b804f1ca72cf80?pvs=21)|`PATCH /user/edit/profile`|
|[์นด๋“œ ๋“ฑ๋ก 1๋‹จ๊ณ„ (์นด๋“œ์‚ฌ๋กœ ์นด๋“œ ๊ฒ€์ƒ‰)](https://www.notion.so/1-43b72b3c6e504bb7acbcc82e25e44773?pvs=21)|`GET /user/card/search?code=0301,0302`|
|[์นด๋“œ ๋“ฑ๋ก 2๋‹จ๊ณ„ (์นด๋“œ ์ด๋ฆ„ ๊ฒ€์ƒ‰)](https://www.notion.so/2-a3bae8eb3a404948a0d628d28d8f8627?pvs=21)|`GET /user/card/searchname?name=๊ตฟ๋ฐ์ด&code=0301,0302`|
|[์นด๋“œ ๋“ฑ๋ก 3๋‹จ๊ณ„ (์นด๋“œ ๋“ฑ๋ก)](https://www.notion.so/3-79822161ce854920a4b3fa044c12a380?pvs=21)|`POST /user/card`|
|[์ฑ—๋ด‡ ์นด๋“œ ์ถ”์ฒœ](https://www.notion.so/0563b60116a24415a68a13db55996b13?pvs=21)|`GET /home?keyword=GS25&paymentAmount=10000`|
|[ํ™ˆํ™”๋ฉด ๊ธฐ๋ณธ ์ •๋ณด](https://haewonny.notion.site/c9feaf8878b44c2fa2f3998e18cdec94)|`GET /home/basic`|
|[๊ฒฐ์ œ ์—ฌ๋ถ€ ๋ณ€๊ฒฝ](https://www.notion.so/977de7a067b84f14a3acbf053b3afd3d?pvs=21)|`PATCH /home/{chat_id}`|
|[์•Œ๋ฆผ ๋ฆฌ์ŠคํŠธ ์กฐํšŒ](https://www.notion.so/7d3699bb0725475c9186679d0bb24e28?pvs=21)|`GET /home/announcement`|
|[์•Œ๋ฆผ ์ƒ์„ธ ์กฐํšŒ](https://www.notion.so/e3e9d2f9afc448ad87f629711e9b26d6?pvs=21)|`GET /home/announcement/{announceId}`|
|[์‚ฌ์šฉ์ž ๊ทผ์ฒ˜ ๋‹จ๊ณจ๊ฐ€๊ฒŒ ์กฐํšŒ](https://www.notion.so/899e5fda2f81494993b22b2298eefbc4?pvs=21)|`GET /home/gps`|
|[์•Œ๋ฆผ ์ƒ์„ฑ ์š”์ฒญ](https://www.notion.so/2661c7a83f3845a2aae26d3342a06fea?pvs=21)|`POST /home/announcement`|
|[CODEF ๋ณด์œ ์นด๋“œ ์กฐํšŒ](https://www.notion.so/CODEF-fdc68b1817fb42f1b6e176b135749f51?pvs=21)|`GET/card/list`|
|[CODEF ์นด๋“œ์‚ฌ ์—ฐ๊ฒฐ ํ˜„ํ™ฉ](https://www.notion.so/CODEF-f09845097643404dbac4975003d82ad1?pvs=21)|`GET/card/connect`|
|[CODEF ์ฃผ์นด๋“œ ๋“ฑ๋ก](https://www.notion.so/CODEF-0dcbcfd7f9a448f6ab3420c63d7fac42?pvs=21)|`POST /card/main`|
|[CODEF ์ฃผ์นด๋“œ ์‹ค์  ์กฐํšŒ](https://www.notion.so/CODEF-7c624bc8db78428daff21574a82b7e86?pvs=21)|`GET /card/main/performance`|
|[๋งˆ์ด์›”๋ › ์กฐํšŒ](https://www.notion.so/ef3d4f6127604c8aa458f2e6be21589d?pvs=21)|`GET /card`|
|[์ฃผ์นด๋“œ ์•„๋‹Œ ์นด๋“œ ์‹ค์  ์ž…๋ ฅ](https://www.notion.so/7fe0661e7dbb4dd497d630d2c151c60a?pvs=21)|`POST /card/performance`|
|[์›”๋ณ„ํ˜œํƒ์กฐํšŒ](https://www.notion.so/c2bc02499d7440daa57a279940737d4d?pvs=21)|`GET /card/benefit?month=8`|
|[๋ชฉํ‘œ ํ˜œํƒ ๊ธˆ์•ก ์ž…๋ ฅ](https://www.notion.so/7edb985fb06f47e1b045e68d9fdf6280?pvs=21)|`POST /card/benefitgoal`|
|[๋งˆ์ดํŽ˜์ด์ง€ ์กฐํšŒ](https://www.notion.so/61fcbd7c42e54240a09750afe75168f1?pvs=21)|`GET /mypage`|
|[์ฑ—๋ด‡ ๋Œ€ํ™” ์กฐํšŒ](https://www.notion.so/fbfd12c6d50f488d9495c98f094f4c1d?pvs=21)|`GET /mypage/chathistory?month=2024-01`|
|[์นด๋“œ ๋ชฉ๋ก ์กฐํšŒ](https://www.notion.so/3eb9972d9fed4e418a1d614232672e9a?pvs=21)|`GET /mypage/maincard`|
|[์ฃผ์นด๋“œ ํ•ด์ œ](https://www.notion.so/a29c406a019b402ba3f9d1fe15827b16?pvs=21)|`PATCH /mypage/maincard/{ownedCardId}`|
|[๋“ฑ๋ก ์นด๋“œ ์‚ญ์ œ](https://www.notion.so/efff9ca6d5d1494b8f56a7bdbefde6e7?pvs=21)|`DELETE /mypage/maincard/{ownedCardId}`|
</details>





## ๐Ÿ‘ฉ๐Ÿปโ€๐Ÿ’ป Back-End Contributors

| Jimin Yu | Haewon Lee | Chaerin Heo |
| --------------------------------- | --------------------------------- |--------------------------------- |
| ![](https://github.com/jiminnee.png) | ![](https://github.com/haewonny.png) | ![](https://github.com/julia-heo.png) |
| <p align="center"><a href="https://github.com/jiminnee">@jiminnee</a></p> | <p align="center"><a href="https://github.com/haewonny">@haewonny</a></p> | <p align="center"><a href="https://github.com/julia-heo">@julia-heo</a></p> |

<img src="https://github.com/EWHA-LUX/ONCE-FE/assets/94354545/2fea2faa-7eaf-4c54-8aab-156601c47f79" border="0" width="1000px" />

0 comments on commit c4344c5

Please sign in to comment.