Skip to content

Commit a673e23

Browse files
committed
init
0 parents  commit a673e23

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+7808
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

.vscode/extensions.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"recommendations": [
3+
"esbenp.prettier-vscode",
4+
"dbaeumer.vscode-eslint",
5+
"bradlc.vscode-tailwindcss",
6+
"svelte.svelte-vscode",
7+
"moalamri.inline-fold",
8+
"usernamehw.errorlens",
9+
"wallabyjs.console-ninja",
10+
"dracula-theme.theme-dracula",
11+
"vscode-icons-team.vscode-icons",
12+
"christian-kohler.path-intellisense",
13+
"kisstkondoros.vscode-gutter-preview",
14+
"graphql.vscode-graphql"
15+
]
16+
}

.vscode/settings.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"typescript.tsdk": "node_modules/typescript/lib",
3+
"graphql-config.load.rootDir": "./frontend"
4+
}

dummy-rest-api/data.ts

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
export const users = [
2+
{
3+
id: 1,
4+
name: "Tuco Salamanca",
5+
},
6+
{
7+
id: 2,
8+
name: "Gustavo Fring",
9+
},
10+
{
11+
id: 3,
12+
name: "Jesse Pinkman",
13+
},
14+
{
15+
id: 4,
16+
name: "Walter White",
17+
},
18+
{
19+
id: 5,
20+
name: "Saul Goodman",
21+
},
22+
{
23+
id: 6,
24+
name: "Hank Schrader",
25+
},
26+
{
27+
id: 7,
28+
name: "Mike Ehrmantraut",
29+
},
30+
{
31+
id: 8,
32+
name: "Skyler White",
33+
},
34+
{
35+
id: 9,
36+
name: "Marie Schrader",
37+
},
38+
{
39+
id: 10,
40+
name: "Lydia Rodarte-Quayle",
41+
},
42+
];
43+
44+
export const posts = [
45+
{
46+
id: 1,
47+
title: "Post 1",
48+
content: "Content 1",
49+
userId: 1,
50+
},
51+
{
52+
id: 2,
53+
title: "Post 2",
54+
content: "Content 2",
55+
userId: 2,
56+
},
57+
{
58+
id: 3,
59+
title: "Post 3",
60+
content: "Content 3",
61+
userId: 3,
62+
},
63+
{
64+
id: 4,
65+
title: "Post 4",
66+
content: "Content 4",
67+
userId: 4,
68+
},
69+
{
70+
id: 5,
71+
title: "Post 5",
72+
content: "Content 5",
73+
userId: 5,
74+
},
75+
{
76+
id: 6,
77+
title: "Post 6",
78+
content: "Content 6",
79+
userId: 6,
80+
},
81+
{
82+
id: 7,
83+
title: "Post 7",
84+
content: "Content 7",
85+
userId: 7,
86+
},
87+
{
88+
id: 8,
89+
title: "Post 8",
90+
content: "Content 8",
91+
userId: 8,
92+
},
93+
{
94+
id: 9,
95+
title: "Post 9",
96+
content: "Content 9",
97+
userId: 9,
98+
},
99+
{
100+
id: 10,
101+
title: "Post 10",
102+
content: "Content 10",
103+
userId: 10,
104+
},
105+
];

dummy-rest-api/package.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"name": "dummy-rest-api",
3+
"version": "1.0.0",
4+
"description": "",
5+
"main": "index.js",
6+
"type": "module",
7+
"scripts": {
8+
"dev": "tsx watch --clear-screen=false server.ts"
9+
},
10+
"keywords": [],
11+
"author": "",
12+
"license": "ISC",
13+
"dependencies": {
14+
"@hono/node-server": "^1.11.1",
15+
"@hono/zod-validator": "^0.2.1",
16+
"hono": "^4.3.3",
17+
"zod": "^3.23.8"
18+
},
19+
"devDependencies": {
20+
"tsx": "^4.9.3"
21+
}
22+
}

0 commit comments

Comments
 (0)