Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

병합 #94

Open
wants to merge 215 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
215 commits
Select commit Hold shift + click to select a range
0ed8069
#2 Implement skeleton
yeonsangshin Dec 28, 2020
a75ce52
#3 Update .gitignore
yeonsangshin Dec 28, 2020
9e5171a
Merge pull request #9 from TeamWeathy/feature/#2/implement-skeleton
yeonsangshin Dec 28, 2020
f3682e0
#10 Add dependency
seonuk Dec 29, 2020
a28485a
#10 Add dependency
seonuk Dec 30, 2020
f76167c
#10 Add Dependency
seonuk Dec 30, 2020
c477e07
#10 Add dependency
seonuk Dec 31, 2020
6172d0e
docs: update README.md [skip ci]
allcontributors[bot] Jan 2, 2021
35f3345
docs: create .all-contributorsrc [skip ci]
allcontributors[bot] Jan 2, 2021
1fe36e0
Merge pull request #14 from TeamWeathy/all-contributors/add-yxxshin
mym0404 Jan 2, 2021
34e8b78
docs: update README.md [skip ci]
allcontributors[bot] Jan 2, 2021
ad08e21
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Jan 2, 2021
04064eb
docs: update README.md [skip ci]
allcontributors[bot] Jan 2, 2021
6ecbb4b
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Jan 2, 2021
b8bd480
Merge pull request #16 from TeamWeathy/all-contributors/add-dshyun0226
mym0404 Jan 2, 2021
db24482
Merge branch 'dev' into all-contributors/add-seonuk
mym0404 Jan 2, 2021
787f579
Merge pull request #17 from TeamWeathy/all-contributors/add-seonuk
mym0404 Jan 2, 2021
5dbb7c5
All Contributor 수, 뱃지 색 변경
mym0404 Jan 2, 2021
d156c17
Add eval. list on README.md
yeonsangshin Jan 2, 2021
0cf38de
#10 Implemented test codes for winston module.
Jan 3, 2021
ee20ab3
#10 Appended config directory to .gitignore.
Jan 3, 2021
e61c1fc
Merge pull request #19 from TeamWeathy/feature/#10/dependency
dshyun0226 Jan 3, 2021
e8f1ccd
Update README.md
seonuk Jan 3, 2021
053389f
Update README.md
seonuk Jan 3, 2021
18b59d0
Fixed eslint, .gitignore
seonuk Jan 3, 2021
d327bc0
[HOTFIX] Add eslint settings & var => const & let
seonuk Jan 3, 2021
8911edb
Merge pull request #20 from TeamWeathy/settings
seonuk Jan 4, 2021
4e5b362
#7 connect db
seonuk Jan 4, 2021
f9b3a6b
수정
seonuk Jan 4, 2021
a241db0
찐막 수정
seonuk Jan 4, 2021
81dac48
Update README.md
seonuk Jan 5, 2021
01a6640
#7 DB connection & DB define
seonuk Jan 5, 2021
752f251
[WIP] #22 Implemented layer seperation.
Jan 5, 2021
2d0e7d4
Merge branch 'feature/#22/api-login' of https://github.com/TeamWeathy…
yeonsangshin Jan 6, 2021
8eb6a60
#7 add Token model define
seonuk Jan 6, 2021
ec3c6c8
Merge branch 'feature/#7/connect-db' of https://github.com/TeamWeathy…
yeonsangshin Jan 6, 2021
5c8dc46
#22 Implemented login API
yeonsangshin Jan 6, 2021
9dfc826
Merge pull request #23 from TeamWeathy/feature/#7/connect-db
seonuk Jan 7, 2021
a6f4f1d
#22 Updated login API
yeonsangshin Jan 7, 2021
d401d32
#10 Removed unsued function.
Jan 7, 2021
f2cae11
#22 Refactored and fixed wrong implementation and variable names.
Jan 7, 2021
6c45fc3
#22 Implemented tokenService test
yeonsangshin Jan 7, 2021
4dce97b
#25 Implemented User API
yeonsangshin Jan 9, 2021
7dde9fc
Merge pull request #24 from TeamWeathy/feature/#22/api-login
yeonsangshin Jan 9, 2021
9e7f39c
[HOTFIX] Fixed #31
yeonsangshin Jan 9, 2021
e6a19dd
#7 Appended field pop to HourlyWeather.
Jan 9, 2021
40595a0
#26 Implemented getWeatherByLocation api.
Jan 9, 2021
0d1ab1d
#26 Linked weather router and weather controller.
Jan 9, 2021
0effd30
#26 Set 12 as default time in get weather by location api.
Jan 9, 2021
cc4a85f
Merge branch 'feature/#27/api-clothes' of https://github.com/TeamWeat…
yeonsangshin Jan 9, 2021
e1e108f
#26 Implemented weather forcast hourly.
Jan 9, 2021
485f106
#26 Modified climate service test.
Jan 9, 2021
e7a4536
#26 Implemented GetExtraDailyWeather api.
Jan 9, 2021
1ca9bfb
#26 Implemented search using keyword api.
Jan 9, 2021
61a9376
#26 Get h_code from kakao using gps.
Jan 9, 2021
b93c488
#26 Fixed mis-typo.
Jan 9, 2021
c39ad1f
#29 Implemented getCalendarOverviews api.
Jan 10, 2021
089cdb0
#29 Moved token utils out from token services.
Jan 10, 2021
93fb1db
Merge branch 'feature/#29/api-calendar' of https://github.com/TeamWea…
seonuk Jan 10, 2021
edca025
#26 Implemented to support multiple messages for climate.
Jan 10, 2021
da7f8db
[WIP] #27 Implementing clothesService
yeonsangshin Jan 10, 2021
682d4b1
#25 Fixed Comments
yeonsangshin Jan 10, 2021
8f0223f
#28 weathy-api, Get Weathy & Get Reommend Weathy
seonuk Jan 11, 2021
e3342da
#27 Implemented Clothes API
yeonsangshin Jan 11, 2021
dc25a1d
#25 Add createTokenOfUser at tokenService
yeonsangshin Jan 11, 2021
1ae55db
#25 Fixed clothesController to const
yeonsangshin Jan 11, 2021
b7016a9
[WIP] #27 Implementing test code
yeonsangshin Jan 11, 2021
316cf2a
Merge pull request #30 from TeamWeathy/feature/#25/api-user
dshyun0226 Jan 11, 2021
f276cfe
Merge branch 'dev' into feature/#26/api-weather
Jan 11, 2021
de35c0a
#26 Linked weather controller to weather router.
Jan 11, 2021
184b4a3
#27 Implemented test code
yeonsangshin Jan 11, 2021
0c240b2
#26 Fixed logic determining weather group to consider both day/night …
Jan 11, 2021
e0845a5
#26 Removed console log.
Jan 11, 2021
5a1f966
#28 weathy-api, Modify Weathy api & delete weathy api
seonuk Jan 11, 2021
fa05819
#26 Fixed weather controller.
Jan 11, 2021
09b8e4d
Merge pull request #32 from TeamWeathy/feature/#26/api-weather
dshyun0226 Jan 11, 2021
611aa3a
Merge branch 'dev' into feature/#29/api-calendar
Jan 11, 2021
8a13abe
#33 Fixed error while merging.
Jan 11, 2021
dea429a
#29 Fixed calendar api for controller test.
Jan 11, 2021
95a5712
#27 Fixed timeout problem and func problem
yeonsangshin Jan 11, 2021
4924dc6
#27 Modified by Comments
yeonsangshin Jan 11, 2021
2c4d76a
Merge pull request #33 from TeamWeathy/feature/#29/api-calendar
yeonsangshin Jan 11, 2021
7b2fbdb
#28 weathy-api, Write weathyService.spec
seonuk Jan 11, 2021
621ad66
#28 Fixed code convention
seonuk Jan 11, 2021
4bc46be
Merge branch 'dev' into feature/#27/api-clothes
dshyun0226 Jan 12, 2021
fee40ec
Merge pull request #37 from TeamWeathy/feature/#27/api-clothes
dshyun0226 Jan 12, 2021
ce17edc
#28 split modify & create weathy api
seonuk Jan 12, 2021
fbda35d
[HOT] resolve a conflict
seonuk Jan 12, 2021
f208878
[HOT] resolve a conflict
seonuk Jan 12, 2021
3f76386
[HotFix] #26 Modified response.
Jan 12, 2021
a1f6428
[HOT] resolve a conflict
seonuk Jan 12, 2021
83faab4
[HOTFIX] Fixed Test timeout problem
yeonsangshin Jan 12, 2021
8ca7a66
Merge pull request #38 from TeamWeathy/feature/#28/weathy-api
seonuk Jan 12, 2021
6d73338
#41 Implemented Default Clothes
yeonsangshin Jan 12, 2021
0a7ca44
#41 Deleted userService/generateToken()
yeonsangshin Jan 12, 2021
d65588e
Merge pull request #42 from TeamWeathy/feature/#41/default-clothes
yeonsangshin Jan 12, 2021
46352a3
#49 Set 12 to default hour.
Jan 12, 2021
b245e49
#45 Fixed no-token-error returns 500 error problem
yeonsangshin Jan 12, 2021
134e2d6
#50 Removed unnecessary fields from Region.
Jan 12, 2021
819f4db
Merge pull request #56 from TeamWeathy/fix/#49/set-default-hour-12
dshyun0226 Jan 12, 2021
7be555a
Merge pull request #54 from TeamWeathy/fix/#45/no-token-error
yeonsangshin Jan 12, 2021
161a474
[HOT] Bug Fix
seonuk Jan 12, 2021
ce3fb48
Merge pull request #57 from TeamWeathy/feature/#28/weathy-api
seonuk Jan 12, 2021
baf184c
[HOT] Bug Fix
seonuk Jan 12, 2021
1c1cc8c
[HOT] Bug Fix
seonuk Jan 12, 2021
9f7d697
Merge branch 'dev' into feature/#28/weathy-api
seonuk Jan 12, 2021
3b79222
Merge pull request #58 from TeamWeathy/feature/#28/weathy-api
seonuk Jan 12, 2021
3c26045
Fixed #43, #44, #46, #55
yeonsangshin Jan 12, 2021
9965645
Updated userController
yeonsangshin Jan 12, 2021
c18c05f
Fixed tokenMiddleware
yeonsangshin Jan 12, 2021
9ab2565
Merge pull request #59 from TeamWeathy/fix/#55/bug-fix
seonuk Jan 12, 2021
9e72bc3
[HOTFIX] Fixed tokenMiddleware
yeonsangshin Jan 12, 2021
c0b83f6
#50 Renamed field region.id to region.code.
Jan 13, 2021
fb0754e
[Fix] Fixed tests to pass.
Jan 13, 2021
0778710
[Fix] Appended assert to refreshTokenValueOfUser and refreshTokenTime…
Jan 13, 2021
986895f
Merge pull request #60 from TeamWeathy/fix/#50/rename-field
dshyun0226 Jan 13, 2021
4bde3f3
[HOT] Delete console.log in WeathyService
seonuk Jan 13, 2021
d73f899
Merge pull request #62 from TeamWeathy/feature/#28/weathy-api
seonuk Jan 13, 2021
89f55df
#63 Fixed token 401 error
yeonsangshin Jan 13, 2021
a9dbc93
Merge pull request #64 from TeamWeathy/fix/#63/token-error
yeonsangshin Jan 13, 2021
fb22f28
[HOTFIX] Deleted console.log
yeonsangshin Jan 13, 2021
6ced655
Update README.md
yeonsangshin Jan 13, 2021
5870e28
[TEST] Calendar Token Logic test
yeonsangshin Jan 13, 2021
093fb4e
Merge branch 'dev' of https://github.com/TeamWeathy/WeathyServer into…
yeonsangshin Jan 13, 2021
179ea89
[HOTFIX] Modify stampId => emoji_id in calendarService.js
seonuk Jan 13, 2021
9c95390
[HOTFIX] Add message in recommendWeathy response
seonuk Jan 13, 2021
d4bf763
Modify climate description
seonuk Jan 14, 2021
774887d
[HOTFIX] add transaction in token middleware
seonuk Jan 14, 2021
f5e1c30
[HOTFIX] add transaction in token middleware
seonuk Jan 14, 2021
38e2a65
[HOTFIX] add transaction in token middleware
seonuk Jan 14, 2021
cdc2913
Update README.md
yeonsangshin Jan 14, 2021
8c7a63f
Update README.md
dshyun0226 Jan 14, 2021
ede0046
Update README.md
yeonsangshin Jan 14, 2021
14de357
[Hotfix] Expand token lifetime to 1 year.
Jan 14, 2021
5cdbcb6
Merge branch 'dev' of http://github.com/TeamWeathy/WeathyServer into dev
Jan 14, 2021
95fb51c
[HOTFIX] Fixed Rain rating error
yeonsangshin Jan 14, 2021
f09e7a2
Merge branch 'dev' of https://github.com/TeamWeathy/WeathyServer into…
yeonsangshin Jan 14, 2021
15d2cc2
[Hotfix] Prevented etag comparison.
Jan 14, 2021
0f91843
[HOTFIX] modify transaction
seonuk Jan 14, 2021
0e725a6
[Hotfix] Expanded token expired days.
Jan 15, 2021
b05a7ed
Merge branch 'dev' of http://github.com/TeamWeathy/WeathyServer into dev
Jan 15, 2021
b52e899
Update README.md
yeonsangshin Jan 15, 2021
257c796
Update README.md
yeonsangshin Jan 15, 2021
469bfdf
Update README.md
yeonsangshin Jan 15, 2021
32f1d9c
Update README.md
yeonsangshin Jan 15, 2021
f60c3c2
Update README.md
yeonsangshin Jan 15, 2021
dc3a5a1
Update README.md
yeonsangshin Jan 15, 2021
e45235e
Update README.md
yeonsangshin Jan 15, 2021
d326ebf
Update README.md
yeonsangshin Jan 15, 2021
e6b28f7
[Test] Add console.log for test
yeonsangshin Jan 15, 2021
de8061c
[Test] Add console.log for test
yeonsangshin Jan 15, 2021
1be89a1
[HotFix] Get Calendar items orderby date.
Jan 15, 2021
c202048
Merge branch 'dev' of http://github.com/TeamWeathy/WeathyServer into dev
Jan 15, 2021
7cfe029
[Test] Add console.log for Test
yeonsangshin Jan 15, 2021
4e69dc0
Merge branch 'dev' of https://github.com/TeamWeathy/WeathyServer into…
yeonsangshin Jan 15, 2021
5c473a1
[HotFix] Get Calendar items orderby date.
Jan 15, 2021
9691ef3
Merge branch 'dev' of http://github.com/TeamWeathy/WeathyServer into dev
Jan 15, 2021
4914e0e
[Test] Add console.log for Test
yeonsangshin Jan 15, 2021
aa60127
Merge branch 'dev' of https://github.com/TeamWeathy/WeathyServer into…
yeonsangshin Jan 15, 2021
512dcf0
[HOTFIX]
seonuk Jan 15, 2021
dae49b6
[HOTFIX]
seonuk Jan 15, 2021
06b4b2e
[WIP] Implemented tokenCheck & tokenUpdate, applied to every code
yeonsangshin Feb 13, 2021
2bed056
Applied comments from #68
yeonsangshin Feb 17, 2021
2159eee
#70 Modified getDailyWeatherWithClimate to getDailyWeatherClimateIcon…
Feb 18, 2021
392bd8f
[WIP] Updated original test codes
yeonsangshin Feb 19, 2021
b874a14
Implemented tokenMiddleware.spec.js
yeonsangshin Feb 19, 2021
ffa56ba
Fixed not working error test codes
yeonsangshin Feb 19, 2021
c0d1472
#73 Modified weathy response
seonuk Feb 20, 2021
a42e331
Merge pull request #71 from TeamWeathy/feature/#70/modified-getdailyw…
dshyun0226 Feb 21, 2021
9077139
Merge branch 'dev' of https://github.com/TeamWeathy/WeathyServer into…
seonuk Feb 21, 2021
fe442e7
Merge pull request #72 from TeamWeathy/feature/#39/token-middleware
yeonsangshin Feb 22, 2021
e890acb
Fixed Token Test
yeonsangshin Feb 22, 2021
159384e
[WIP] Implemented clothesNum, weathyId optional query
yeonsangshin Feb 23, 2021
0cd2f94
[WIP] #69 Add uploadFile function
seonuk Feb 23, 2021
7b9ce62
Merge branch 'dev' into feature/#69/uploadPicture
seonuk Feb 23, 2021
cd6d5d2
#69 Add uploadFile Function
seonuk Feb 23, 2021
d399cc1
Implemented clothesService Test Codes
yeonsangshin Feb 23, 2021
a71b100
Updated clothesController code for readability
yeonsangshin Feb 23, 2021
4109430
[HOTFIX] Changed ALREADY_CLOTHES HTTP Code to 403
yeonsangshin Feb 23, 2021
89546ac
Applied comments from #76
yeonsangshin Feb 24, 2021
449243b
#69 Append multer to package.json.
Feb 24, 2021
39c6bfa
#69 [WIP] Wrap multer with upload function.
Feb 24, 2021
d894b31
#69 [WIP] Call next after s3 upload.
Feb 24, 2021
d23ba45
Revert "#69 [WIP] Call next after s3 upload."
Feb 24, 2021
eb50869
Revert "#69 [WIP] Wrap multer with upload function."
Feb 24, 2021
021759c
Merge pull request #75 from TeamWeathy/feature/#69/uploadPicture
dshyun0226 Feb 24, 2021
13985be
Merge pull request #76 from TeamWeathy/feature/#67/clothes-new-server
dshyun0226 Feb 24, 2021
33756cb
#78 Modified the climate description with the result of getWeathyClim…
Feb 26, 2021
0b66411
Merge pull request #79 from TeamWeathy/bug/#78/weathy-climate-descrip…
dshyun0226 Feb 26, 2021
3e42759
#80 Appended field climateIconId to CalendarOverview.
Feb 26, 2021
193dbe8
Merge pull request #81 from TeamWeathy/feature/#80/append-climateicon…
dshyun0226 Feb 26, 2021
e3918ae
[HOTFIX] Fixed tokenMiddleware
yeonsangshin Feb 27, 2021
abf1570
[HOTFIX] Updated items at clothesService/createDefaultClothes
yeonsangshin Feb 27, 2021
bb31d26
#82 Respond clothesNum in each clothes category.
Feb 27, 2021
3df29c7
Merge pull request #85 from TeamWeathy/feature/#82/response-clothesNu…
dshyun0226 Feb 27, 2021
5778581
#86 Appended field clothesNum to closet response of weathy apis.
Feb 27, 2021
bbb9b3a
Merge pull request #87 from TeamWeathy/feature/#86/weathyapi-closet-c…
dshyun0226 Feb 27, 2021
eb47bc0
#69 Add a function to upload an image file to S3
seonuk Feb 27, 2021
7ede8df
Merge branch 'dev' into feature/#69/uploadPicture
seonuk Feb 27, 2021
8191d1c
delete console.log() in weathyService.js
seonuk Feb 27, 2021
26266c5
Add getWeathyClimate
seonuk Feb 27, 2021
6f7a3d2
Merge pull request #88 from TeamWeathy/feature/#69/uploadPicture
seonuk Feb 27, 2021
197203e
[HOTFIX] Respond 401 when token error in token middleware.
Feb 27, 2021
3c5783e
Merge branch 'dev' of http://github.com/TeamWeathy/WeathyServer into dev
Feb 27, 2021
d173939
#89 Supported weathy_id query in addClothes api.
Feb 28, 2021
3e62b37
Merge pull request #90 from TeamWeathy/feature/#89/suppor-weathyid-in…
dshyun0226 Feb 28, 2021
96da45a
[Hotfix] Replaced hourly climate id to daily climate id in weathy.
Mar 1, 2021
b0d4fce
Merge branch 'dev' of http://github.com/TeamWeathy/WeathyServer into dev
Mar 1, 2021
22bc0d6
[Hotfix] Replaced hourly climate id to daily climate id in weathy.
Mar 1, 2021
bbe38f9
[HOTFIX] modify daily weather
seonuk Mar 6, 2021
f88c43d
[HOTFIX] modify get daily weather
seonuk Mar 6, 2021
6a3d060
Merge pull request #92 from TeamWeathy/feature/#91/modifyGetWeather
seonuk Mar 7, 2021
87c6d3e
[HOTFIX] modify getWeathersByKeyword
seonuk Mar 8, 2021
e6bc9ec
Merge pull request #93 from TeamWeathy/feature/#91/modifyGetWeather
seonuk Mar 8, 2021
655fdc6
location id type
kei-choi Feb 13, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"files": [
"README.md"
],
"imageSize": 100,
"commit": false,
"contributors": [
{
"login": "yxxshin",
"name": "Yeon Sang Shin",
"avatar_url": "https://avatars0.githubusercontent.com/u/63148508?v=4",
"profile": "https://github.com/yxxshin",
"contributions": [
"code"
]
},
{
"login": "seonuk",
"name": "seonuk",
"avatar_url": "https://avatars3.githubusercontent.com/u/22928068?v=4",
"profile": "https://github.com/seonuk",
"contributions": [
"code"
]
},{
"login": "dshyun0226",
"name": "Jahyun Kim",
"avatar_url": "https://avatars3.githubusercontent.com/u/8098698?v=4",
"profile": "https://github.com/dshyun0226",
"contributions": [
"code"
]
}
],
"contributorsPerLine": 7,
"projectName": "WeathyServer",
"projectOwner": "TeamWeathy",
"repoType": "github",
"repoHost": "https://github.com",
"skipCi": true
}
12 changes: 12 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
// Set the default
"editor.formatOnSave": false,
// Enable per-language
"[javascript]": {
"editor.formatOnSave": true
},
"editor.codeActionsOnSave": {
// For ESLint
"source.fixAll.eslint": true
}
}
84 changes: 83 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,84 @@
# WeathyServer
☀️웨디 서버파트

<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
[![All Contributors](https://img.shields.io/badge/all_contributors-3-blue.svg?style=flat-square)](#contributors-)
<!-- ALL-CONTRIBUTORS-BADGE:END -->

## 나에게 돌아오는 맞춤 서비스, Weathy 🌤
<img src="https://imgur.com/IeuvIFO.png" width="750">

## Contributors ✨

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
<tr>
<td align="center"><a href="https://github.com/yxxshin"><img src="https://avatars0.githubusercontent.com/u/63148508?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Yeon Sang Shin</b></sub></a><br /><a href="https://github.com/TeamWeathy/WeathyServer/commits?author=yxxshin" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/seonuk"><img src="https://avatars3.githubusercontent.com/u/22928068?v=4?s=100" width="100px;" alt=""/><br /><sub><b>seonuk</b></sub></a><br /><a href="https://github.com/TeamWeathy/WeathyServer/commits?author=seonuk" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/dshyun0226"><img src="https://avatars3.githubusercontent.com/u/8098698?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Jahyun Kim</b></sub></a><br /><a href="https://github.com/TeamWeathy/WeathyServer/commits?author=dshyun0226" title="Code">💻</a></td>
</tr>
</table>

<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->

<!-- ALL-CONTRIBUTORS-LIST:END -->

### dependencies module (package.json)
#### Dev module:
```json
"devDependencies": {
"decache": "^4.6.0",
"eslint": "^7.16.0",
"eslint-config-prettier": "^7.1.0",
"eslint-plugin-prettier": "^3.3.0",
"mocha": "^8.2.1",
"prettier": "2.2.1",
"swagger-jsdoc": "^6.0.0",
"swagger-ui-express": "^4.1.6"
}
```

#### module:
```json
"dependencies": {
"app-root-path": "^3.0.0",
"cookie-parser": "~1.4.4",
"crypto-random-string": "^3.3.0",
"dayjs": "^1.10.2",
"debug": "~2.6.9",
"express": "~4.16.1",
"http-errors": "~1.6.3",
"jade": "~1.11.0",
"morgan": "~1.9.1",
"mysql2": "^2.2.5",
"request": "^2.88.2",
"request-promise": "^4.2.6",
"sequelize": "^6.3.5",
"sequelize-cli": "^6.2.0",
"winston": "^3.3.3",
"winston-daily-rotate-file": "^4.5.0"
}
```

### ER Diagram
<img src=https://imgur.com/fIjtbo3.png width="550">


### 서버 아키텍쳐
<img src=https://imgur.com/2hunZHg.png width="750">


### 핵심 기능 설명
open weather api를 사용해서 날씨를 수집하고 해당 날씨에 대해 사용자가 자신의 옷차림과 상태를 기록한다.
기록된 데이터를 바탕으로 오늘 날씨와 비슷한 날씨의 기록 데이터를 가져와 날씨 판단에 있어 비교척도를 제공해준다.

### 팀별 역할 분담
- 신연상 : API 위키 문서 관리, Login, User, Clothes API 개발 및 테스트코드 작성
- 최선욱 : Open Weather Batch 프로그램 개발, Weathy API 개발 및 테스트코드 작성
- 김자현 : 스키마 설계, DB 권한 및 계정 , Calendar, Weather API 개발 및 테스트코드 작성
이외의 API 설계, 코드 리뷰 등은 함께 하였음!

### API 명세서
[API 명세서 링크](https://github.com/TeamWeathy/WeathyServer/wiki)
35 changes: 35 additions & 0 deletions WeathyServer/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
// 코드 포맷을 prettier로 설정
"plugins": [
"prettier"
],
"env": {
// "express":true,
"node": true,
"jest": true,
"mocha": true,
"browser": false,
"commonjs": true,
"es2021": true
},
"extends": [
"eslint:recommended",
"plugin:prettier/recommended"
],
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "script"
},
"ignorePatterns": [
"node_modules/"
],
// ESLint 룰을 설정
"rules": {
// prettier에 맞게 룰을 설정
"prettier/prettier": "error"
},
"globals": {
"process": false,
"__dirname": false
}
}
154 changes: 154 additions & 0 deletions WeathyServer/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
# Created by https://www.toptal.com/developers/gitignore/api/macos,node,vscode
# Edit at https://www.toptal.com/developers/gitignore?templates=macos,node,vscode

### macOS ###
# General
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon


# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

### Node ###
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test
.env*.local

# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache

# Next.js build output
.next

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

# Stores VSCode versions used for testing VSCode extensions
.vscode-test

### vscode ###
.vscode/*

!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
*.code-workspace

# End of https://www.toptal.com/developers/gitignore/api/macos,node,vscode

config/
6 changes: 6 additions & 0 deletions WeathyServer/.prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"trailingComma": "none",
"tabWidth": 4,
"semi": true,
"singleQuote": true
}
Loading