-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1143efe
commit c96f9c5
Showing
1 changed file
with
160 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,160 @@ | ||
# mody-server | ||
# Mody | ||
|
||
> ํจ์ ์ถ์ฒ ~~ โModyโ | ||
## ํ๋ก์ ํธ ์๊ฐ | ||
|
||
- | ||
- | ||
|
||
## Member | ||
|
||
<div align=center> | ||
|
||
| Backend | Backend | | ||
| :--------------------------------------------------------------------------: |:---------------------------------------------------------------------:| | ||
| [](https://github.com) | [](https://github.com/) | | ||
|
||
</div> | ||
|
||
## ๊ฐ๋ฐ ๊ธฐ๊ฐ | ||
|
||
|
||
|
||
## How to use | ||
|
||
```sh | ||
curl -X POST http://localhost/api/v1/user/signup \ | ||
-H "Content-Type: application/json" \ | ||
-d '{"user_code":"admin","password":"admin","user_name":"admin","user_email":"admin","department":"admin","semester":1,"major":"admin","phone_number":"010-1234-5678"}' | ||
``` | ||
|
||
ํฐ๋ฏธ๋ ํน์ CMD ์ฐฝ์ ๋ค์ ๋ช ๋ น์ด๋ฅผ ํตํด์ admin ๊ณ์ ์ ๋ํด ํ์๊ฐ์ ์ ์งํํฉ๋๋ค. | ||
|
||
### client | ||
|
||
```bash | ||
yarn install | ||
yarn start | ||
``` | ||
|
||
ํด๋ผ์ด์ธํธ ๋๋ ํ ๋ฆฌ์์ ์์ ๊ฐ์ ๋ช ๋ น์ด๋ฅผ ํตํด ์คํํฉ๋๋ค. | ||
|
||
## ๊ฐ๋ฐ ํ๊ฒฝ | ||
|
||
- OS: MacOS, Ubuntu | ||
- Code Editor: Visual Studio Code, IntelliJ, PyCharm | ||
- Language: Html, CSS, JavaScript, TypeScript, Python | ||
- Collaboration Tool: Notion, Github, Slack | ||
<br> | ||
|
||
## Tech Stack | ||
|
||
<div align=center> | ||
|
||
### โ๏ธBack-end | ||
|
||
<img src="https://img.shields.io/badge/ubuntu-E95420?style=for-the-badge&logo=ubuntu&logoColor=white"> | ||
<img src="https://img.shields.io/badge/python-3776AB?style=for-the-badge&logo=python&logoColor=white"> | ||
<img src="https://img.shields.io/badge/java-007396?style=for-the-badge&logo=OpenJDK&logoColor=white"> | ||
<img src="https://img.shields.io/badge/Spring-6DB33F?style=for-the-badge&logo=Spring&logoColor=white"> | ||
<img src="https://img.shields.io/badge/spring%20boot-6DB33F?style=for-the-badge&logo=springboot&logoColor=white"> | ||
<img src="https://img.shields.io/badge/spring%20security-6DB33F?style=for-the-badge&logo=SPRING%20SECURITY&logoColor=white"> | ||
<img src="https://img.shields.io/badge/mysql-4479A1?style=for-the-badge&logo=mysql&logoColor=white"> | ||
<img src="https://img.shields.io/badge/amazon%20aws-232F3E?style=for-the-badge&logo=amazonaws&logoColor=white"> | ||
<img src="https://img.shields.io/badge/terraform-844FBA?style=for-the-badge&logo=terraform&logoColor=white"> | ||
<img src="https://img.shields.io/badge/GitHub Actions-2088FF?style=for-the-badge&logo=GitHub Actions&logoColor=white"> | ||
<img src="https://img.shields.io/badge/docker-2496ED?style=for-the-badge&logo=docker&logoColor=white"> | ||
|
||
### โ๏ธFrond-end | ||
|
||
<img src="https://img.shields.io/badge/html5-E34F26?style=for-the-badge&logo=html5&logoColor=white"> | ||
<img src="https://img.shields.io/badge/css3-1572B6?style=for-the-badge&logo=css3&logoColor=white"> | ||
<img src="https://img.shields.io/badge/javascript-F7DF1E?style=for-the-badge&logo=javascript&logoColor=black"> | ||
<img src="https://img.shields.io/badge/TypeScript-007ACC?style=for-the-badge&logo=typescript&logoColor=white"> | ||
<img src="https://img.shields.io/badge/Next.js-000000?style=for-the-badge&logo=Next.js&logoColor=white"> | ||
|
||
</div> | ||
|
||
## ์ธํ๋ผ ์ํคํ ์ณ | ||
|
||
- 3 Tier Architecture๋ก AWS ์ธํ๋ผ ํ๊ฒฝ๊ตฌ์ฑ์ ์ค์ ํ์ต๋๋ค. | ||
- ์ํํธ์จ์ด ์์คํ ์ ์ฌ์ฉ์์ ์ธํฐํ์ด์ค๋ฅผ ์ฒ๋ฆฌํ๊ณ ํด๋ผ์ด์ธํธ์ ์ํธ์์ฉํ๋ ๊ณ์ธต, ๋น์ฆ๋์ค ๋ก์ง์ ์ฒ๋ฆฌํ๊ณ ์ ํ๋ฆฌ์ผ์ด์ ์ ํต์ฌ ๊ธฐ๋ฅ์ ์คํํ๋ ๊ณ์ธต, ๋ฐ์ดํฐ๋ฒ ์ด์ค ๋ฐ ๋ฐ์ดํฐ ์ ์ฅ์์ ์ํธ ์์ฉํ์ฌ ๋ฐ์ดํฐ๋ฅผ ์ ์ฅํ๊ณ ๊ฒ์ํ๋ ์ธ ๊ฐ์ง ์ฃผ์ ๊ณ์ธต์ผ๋ก ๋๋ด์ต๋๋ค. | ||
- ์ด๋ฅผ ํตํด ๊ฐ ๊ณ์ธต์ ๋ ๋ฆฝ์ ์ผ๋ก ๊ฐ๋ฐ ๋ฐ ์ ์ง๋ณด์ํ ์ ์์ผ๋ฏ๋ก ์ฝ๋์ ๋ชจ๋ํ๊ฐ ์ฝ๊ณ , ๋น์ฆ๋์ค ๋ก์ง์ ๋น์ฆ๋์ค ๊ณ์ธต ์ค์ ์ ์ผ๋ก ๊ตฌํ๋๋ฏ๋ก, ํด๋น ๋ก์ง์ ๋ค๋ฅธ ํด๋ผ์ด์ธํธ๋ ์ ํ๋ฆฌ์ผ์ด์ ์์ ์ฌ์ฌ์ฉํ ์ ์์์ต๋๋ค. | ||
|
||
 | ||
|
||
## ์์คํ ๊ตฌ์ฑ๋ | ||
|
||
- Github์ actions ๊ธฐ๋ฅ์ ํ์ฉํ์ฌ ๊ฐ๋ฐ์๊ฐ release ๋ธ๋์น๋ก feature ํ๋ก์ ํธ๋ฅผ mergeํ๋ ์๊ฐ ํธ๋ฆฌ๊ฑฐ๊ฐ ๋ฐ๋๋์ด ํ๋ก์ ํธ์ ๋ฒ์ ์ ์ ๋ฐ์ดํธ ํ ์ ์๋๋ก ๊ตฌ์ฑํ์ต๋๋ค. | ||
- Github actions์์ buildํ docker image๋ค์ docker hub๋ก push ๋ฉ๋๋ค. ์ดํ actions์์ ์๋ฒ ์ธก์ผ๋ก ์ง์ ์ ํ๊ฒ ๋๊ณ , ํด๋น ์๋ฒ์์ docker hub์ ์๋ ์ด๋ฏธ์ง๋ค์ pull ๋ฐ์ ํ์ฌ ์คํ์ค์ธ ์ดํ๋ฆฌ์ผ์ด์ ์ ๋ค์ดํ๊ณ ์๋ก pull ๋ฐ์ ์ด๋ฏธ์ง๋ค์ ์ดํ๋ฆฌ์ผ์ด์ ์ผ๋ก up ํฉ๋๋ค. | ||
 | ||
|
||
## ํ์ ๊ท์น | ||
|
||
### Github ํ์ ๊ท์น | ||
|
||
Github ํ์ ๊ท์น์ ์๋์ ๊ฐ์ต๋๋ค. | ||
|
||
1. ์ ์ฒด์ ์ธ ํ์ flow๋ Github flow๋ฅผ ๋ฐ๋ฆ. | ||
2. Forkํ ์ ์ฅ์๋ฅผ ๊ฐ์ local๋ก ๊ฐ์ ธ์ ์์ . | ||
3. ์์ ํ ์ฝ๋๋ add -> commit -> push ํ, upstream์ Pull Request๋ฅผ ์ํ. | ||
4. main branch๋ก๋ถํฐ dev branch, prod branch๋ฅผ ๊ตฌ์ฑ. | ||
5. ์ถ๊ฐ๋๋ ๊ธฐ๋ฅ์ ๋ํด์๋ feature branch๋ฅผ ์์ฑํ์ฌ ๊ฐ ๊ธฐ๋ฅ๋ณ branch๋ฅผ ๊ตฌ์ฑ. | ||
6. Pull Request ์ Code Review ์ดํ Merge ์งํ. | ||
7. Commit ๊ท์น์ ์๋์ ๊ฐ์ด ์งํํ์ต๋๋ค. | ||
|
||
| ์ปค๋ฐ ํ์ | ์ค๋ช | | ||
| --------- | -------------------------------------------------------------- | | ||
| Feat | ์๋ก์ด ๊ธฐ๋ฅ ์ถ๊ฐ | | ||
| Fix | ๋ฒ๊ทธ ์์ | | ||
| Docs | ๋ฌธ์ ์์ | | ||
| Style | ์ฝ๋ formatting, ์ธ๋ฏธ์ฝ๋ก ๋๋ฝ ๋ฑ ์ฝ๋ ์์ฒด์ ๋ณ๊ฒฝ์ด ์๋ ๊ฒฝ์ฐ | | ||
| Chore | ํจํค์ง ๋งค๋์ ์์ ๋ฐ ๊ธฐํ ์์ | | ||
| Design | CSS ๋ฑ ์ฌ์ฉ์ UI ๋ณ๊ฒฝ | | ||
|
||
### Issue ํ์ฉ | ||
|
||
 | ||
|
||
- Github ๋ ํฌ์งํ ๋ฆฌ์ Issueํญ์ Todo์ธ ์ํฉ ํน์ In progress์ ๋ํ ์ํฉ์ ์์ฑํ๊ณ ๊ณต์ ํ์ต๋๋ค. ํด๋น Issue ๋ฒํธ๋ก ๊ฐ์์ ๋ก์ปฌ ๋ ํฌ์งํ ๋ฆฌ์ ๋ธ๋์น๋ฅผ ์์ฑํ์ฌ Pull Request ์์ ํด๋น Issue๋ฅผ ์ธ๊ธํ์ฌ ๊ณต์ ํ์ต๋๋ค. ํด๋น ์ ๋ต์ ์ฌ์ฉํ์ฌ Merge Conflict์ ๋ฐ์ ๊ฐ๋ฅ์ฑ์ ์ค์์ต๋๋ค. | ||
|
||
### PR ํ์ฉ | ||
|
||
 | ||
|
||
- ๋ค์๊ณผ ๊ฐ์ด ๊ฐ๋ฐ ์ดํ ํน์ ํ๋ก์ ํธ์ ๋ํ ๋ณ๊ฒฝ์ฌํญ์ ์ ์ํ๊ณ , ํ์๊ณผ ์ด๋ฅผ ๊ฒํ ๋ฐ ๋ ผ์ํ ํ, ์ต์ข ์ ์ผ๋ก ํด๋น ๋ณ๊ฒฝ์ฌํญ์ ๋ฐ์ํ ์ ์๋๋ก ํ์ต๋๋ค. | ||
- ๋ค๋ฅธ ๊ฐ๋ฐ์๋ค์ ํด๋น Pull Request๋ฅผ ๊ฒํ ํ๊ณ , ํ์ํ ๊ฒฝ์ฐ ํผ๋๋ฐฑ์ ์ ๊ณตํ ์ ์์์ต๋๋ค. | ||
- ๊ฒํ ํ, Pull Request๊ฐ ์น์ธ๋๋ฉด ๋ณ๊ฒฝ ์ฌํญ์ด ๋ฉ์ธ ํ๋ก์ ํธ๋ก ๋ณํฉ๋๋๋ก ํ์ต๋๋ค. ๋ฐ๋ฉด, ์ถ๊ฐ์ ์ธ ์์ ์ด ํ์ํ ๊ฒฝ์ฐ ๊ฐ๋ฐ์๋ ํผ๋๋ฐฑ์ ๋ฐ์ํ์ฌ ์์ ํ๊ณ , ์์ ๋ ๋ณ๊ฒฝ์ฌํญ์ ๋ค์ push ํ์ต๋๋ค. | ||
|
||
## ๊ตฌํ๊ฒฐ๊ณผ | ||
|
||
<div align=center> | ||
<img src="./document/image/login.png"> | ||
<p>๋ก๊ทธ์ธ ํ์ด์ง</p> | ||
<img src="./document/image/main.png"> | ||
<p>๋ฉ์ธ ํ์ด์ง</p> | ||
<img src="./document/image/info.png"> | ||
<p>ํ์ ์กฐํ ํ์ด์ง</p> | ||
<img src="./document/image/grade.png"> | ||
<p>์ฑ์ ์กฐํ ํ์ด์ง</p> | ||
<img src="./document/image/enroll.png"> | ||
<p>์๊ฐ ์ ์ฒญ ํ์ด์ง</p> | ||
<img src="./document/image/confirm.png"> | ||
<p>์๊ฐ ์กฐํ ํ์ด์ง</p> | ||
<img src="./document/image/course.png"> | ||
<p>ํ์ต ๊ด๋ฆฌ ํ์ด์ง</p> | ||
</div> | ||
|
||
## ๊ธฐ๋ํจ๊ณผ | ||
|
||
๊ธฐ๋ํจ๊ณผ๋ ์๋์ ๊ฐ์ต๋๋ค. | ||
|
||
1. ํ์ด์ง ํ๋์ ํ์๋ค์ด ์ฌ์ฉํ๋ ๋๋ถ๋ถ์ ๊ธฐ๋ฅ์ด ํตํฉ ๋์ด์์ด ์ฌ์ฉ์์ ํธ์์ฑ ์ฆ์ง | ||
2. PC, ๋ชจ๋ฐ์ผ ํ๊ฒฝ์ ๋ชจ๋ ๊ณ ๋ คํ ๊ฐ์ ์ ํตํด ์ฌ์ฉ์์ ํธ์์ฑ ์ฆ์ง | ||
3. ํ๋ก์ ํธ ์ํ์ ํตํ ํ์๋ค์ ์น ์์คํ ๊ตฌ์กฐ ์ดํด ์์น | ||
4. ํ์ ํด (Github, Notion, Slack)์ ํ์ฉํ์ฌ ํ์๋ค์ ์ปค๋ฎค๋์ผ์ด์ ๋ฅ๋ ฅ ํฅ์ | ||
5. ์คํ์์ค๋ฅผ ํตํด ๊ฐ๋ฐํ๋ ๊ณผ์ ์ ๋ํ ์ดํด ์์น | ||
|
||
## License | ||
|