rogarithm / todos Goto Github PK
View Code? Open in Web Editor NEW할 일 관리 앱 백엔드 API
할 일 관리 앱 백엔드 API
Request Type | Required | Name | Description |
---|---|---|---|
Query | false | state | 조회할 Todo의 상태 |
Query | true | size | 가져올 Todo 수 |
todo의 상태는 다음과 같다.
ALL
: 완료된 항목과 미완료된 항목 모두COMPLETE
: 완료된 항목만INCOMPLETE
: 미완료된 항목만{
"items": [
{
"id": "Todo id",
"name": "Todo 이름",
"state": "Todo 상태, true, false",
"createdAt": "Todo 생성 시간"
}
...
]
}
Request Type | Required | Name | Description |
---|---|---|---|
path | true | todoId | 상세 정보를 가져올 Todo Id |
{
"id": "Todo id",
"name": "Todo 이름",
"description": "Todo에 대한 설명",
"state": "완료 여부"
}
phone
, crn
, password
를 마스킹하고 로그인 할 수 없도록 한다.Request Type | Required | Name | Description |
---|---|---|---|
Query | true | nickname | 중복 체크할 닉네임 |
{
"verify": "사용가능 : true, 불가능 : false"
}
{
"id": "Todo id",
"name": "Todo 이름",
"description": "Todo에 대한 설명",
"state": "완료 여부"
}
Request Type | Required | Name | Description |
---|---|---|---|
Query | true | id | 삭제할 Todo id |
Request Type | Required | Name |
---|---|---|
Cookie | true | RefreshToken |
{
"accessToken": "accessToken"
}
{
"account": "계정",
"password": "비밀번호"
}
Request Type | Name | Description |
---|---|---|
Cookie | RefreshToken | 로그인시 발급받은 RefreshToken |
{
"accessToken": "access token"
}
{
"name": "Todo 이름",
"description": "Todo에 대한 설명"
}
Request Type | Required | Name | Description |
---|---|---|---|
Query | true | account | 중복 체크할 계정 |
{
"verify": "사용가능 : true, 불가능 : false"
}
{
"nickname": "닉네임",
"phone": "연락처",
"crn": "사업자등록번호"
"createdAt": "사용자 회원가입 시간"
}```
account
, nickname
이 중복된 경우 회원가입이 되면 안된다.crn
이 유효하지 않은 경우 회원가입이 되면 안된다.{
"account": "계정",
"password": "비밀번호",
"nickname": "닉네임",
"phone": "연락처",
"crn": "사업자등록번호"
}
crn
값이 유효한지 체크한다.Request Type | Required | Name | Description |
---|---|---|---|
Query | true | crn | 중복 체크할 사업자등록번호 |
{
"verify": "사용가능 : true, 불가능 : false"
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.