테스트 사이트 - 개발 중인 베타 버전입니다

JSONPlaceholder

· 6년 전 · 1321

https://sir.kr/so_app/1576  여기 글에서 나온 JSONPlaceholder 입니다.

 

https://jsonplaceholder.typicode.com/

 

Resources

JSONPlaceholder comes with a set of 6 common resources:

/posts 100 posts
/comments 500 comments
/albums 100 albums
/photos 5000 photos
/todos 200 todos
/users 10 users

Note: resources have relations. For example: posts have many commentsalbums have many photos, ... see below for routes examples.

Routes

All HTTP methods are supported.

GET /posts
GET /posts/1
GET /posts/1/comments
GET /comments?postId=1
GET /posts?userId=1
POST /posts
PUT /posts/1
PATCH /posts/1
DELETE /posts/1

 

lavuebd에서 하고자 하는 것과 비슷하네요..

 

앱 개발하시는 분들을 위해서 lavuebd와 비슷하게  fake JSON Server를 만들어 보면 좋을 것 같네요.

 

https://github.com/typicode/json-server

 

https://egghead.io/lessons/javascript-creating-demo-apis-with-json-server

댓글 작성

댓글을 작성하시려면 로그인이 필요합니다.

로그인하기

게시글 목록

번호 제목
100
99
96
93
92
91
기타 Snippet
90
기타 Vue.js
89
88
87
86
85
83
82
78
71
70
66
65
62
61
58
57
55
52
49
43
41
37
36