forked from darryl1975/my-first-next-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdb.json
156 lines (156 loc) · 4.38 KB
/
db.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
{
"events": [
{
"id": 1,
"title": "Event 1",
"description": "File-system based routing has been a core feature of Next.js.There was nothing additional to configure. Drop a file inside pages and the Next.js router would take care of the rest. We still love this simplicity with routing. But as usage of the framework grew, so have the types of interfaces developers are looking to build with it.<br/><br/>Developers have asked for improved support for defining layouts, nesting pieces of UI as layouts, and having more flexibility over defining loading and error states. This wasn't an easy thing to retrofit into the existing Next.js router.<br/><br/>Every part of the framework has to be designed around the router. Page transitions, data fetching, caching, mutating and revalidating data, streaming, styling content, and more.",
"category": "sports",
"date": "Apr 23"
},
{
"id": 2,
"title": "Event 2",
"description": "Description 2",
"category": "technology",
"date": "May 25"
},
{
"id": 3,
"title": "Event 3",
"description": "Description 3",
"category": "food",
"date": "Oct 20"
},
{
"id": 4,
"title": "Event 4",
"description": "Description 4",
"category": "sports",
"date": "Aug 20"
},
{
"id": 5,
"title": "Event 5",
"description": "Description 5",
"category": "sports",
"date": "Sep 20"
}
],
"dashboard": {
"posts": 5,
"likes": 150,
"followers": 20,
"following": 50
},
"news": [
{
"id": 1,
"title": "News Article 1",
"description": "Description 1",
"category": "sports"
},
{
"id": 2,
"title": "News Article 2",
"description": "Description 2",
"category": "politics"
},
{
"id": 3,
"title": "News Article 3",
"description": "Description 3",
"category": "sports"
}
],
"products": [
{
"id": 1,
"title": "Product 1",
"price": 1000,
"description": "Description 1"
},
{
"id": 2,
"title": "Product 2",
"price": 2000,
"description": "Description 2"
},
{
"id": 3,
"title": "Product 3",
"price": 3000,
"description": "Description 3"
},
{
"id": 4,
"title": "Product 4",
"price": 4000,
"description": "Description 4"
},
{
"id": 5,
"title": "Product 5",
"price": 5000,
"description": "Description 5"
}
],
"blogs": [
{
"id": 1,
"title": "",
"content": "File-system based routing has been a core feature of Next.js.There was nothing additional to configure. Drop a file inside pages/ and the Next.js router would take care of the rest. We still love this simplicity with routing. But as usage of the framework grew, so have the types of interfaces developers are looking to build with it.\\n\\nDevelopers have asked for improved support for defining layouts, nesting pieces of UI as layouts, and having more flexibility over defining loading and error states. This wasn't an easy thing to retrofit into the existing Next.js router.\\n\\nEvery part of the framework has to be designed around the router. Page transitions, data fetching, caching, mutating and revalidating data, streaming, styling content, and more.",
"date": "5th May 2023"
}
],
"user": [
{
"name": "aryan",
"username": "raj",
"email": "aryan@gmail.com",
"phone": "1234567890",
"id": 1
},
{
"name": "akash",
"username": "akashsingh",
"email": "akash@gmail.com",
"phone": "98786756564",
"id": 2
},
{
"name": "suraj",
"username": "suraj123",
"email": "suraj@gmail.com",
"phone": "9956976967",
"id": 3
},
{
"name": "rakesh",
"username": "rakesh",
"email": "rakesh@gmail.com",
"phone": "9579579575",
"id": 4
},
{
"name": "vikas",
"username": "vikas123",
"email": "vikas@gmail.com",
"phone": "444444444444",
"id": 5
},
{
"id": "6",
"name": "Darryl Ng",
"username": "darrylng",
"email": "darryl1975@hotmail.com",
"phone": "+6597304777"
},
{
"id": "7",
"name": "Annie",
"username": "annieng",
"email": "annie@hotmail.com",
"phone": "98765433"
}
]
}