Skip to content

Commit d01119b

Browse files
committed
Remove API
1 parent 68224e3 commit d01119b

File tree

33 files changed

+124
-1028
lines changed

33 files changed

+124
-1028
lines changed

.cursorrules

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ The user may ask about any of these technologies:
2929
- Apollo GraphQL
3030
- Radix
3131
- Hono
32-
- Prisma with Postgres
3332
- Zod
3433
- Zustand
3534
- Prosekit

.vscode/extensions.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"GitHub.github-vscode-theme",
77
"mquandalle.graphql",
88
"PKief.material-icon-theme",
9-
"Prisma.prisma",
109
"christian-kohler.npm-intellisense",
1110
"bradlc.vscode-tailwindcss",
1211
"yzhang.markdown-all-in-one",

AGENTS.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ This project uses the coding and collaboration rules defined in `.cursorrules`.
1616
- React with Vite and TypeScript
1717
- HeadlessUI, Tailwind CSS, and Radix
1818
- Apollo GraphQL with Hono
19-
- Prisma with Postgres
2019
- Zustand and TanStack React Query
2120
- Zod for validation
2221
- Prosekit with Remark and Rehype

README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,6 @@ To run the application in development mode:
7979
pnpm dev
8080
```
8181

82-
## Code Generation
83-
84-
Generate Prisma clients and GraphQL types across all workspaces:
85-
86-
```bash
87-
pnpm codegen
88-
```
89-
9082
## Build
9183

9284
### Build the application

apps/api/package.json

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,7 @@
55
"license": "AGPL-3.0",
66
"scripts": {
77
"build": "echo 'Not required'",
8-
"codegen": "prisma generate --schema ./src/prisma/schema.prisma",
98
"dev": "tsx watch src/index.ts",
10-
"postinstall": "pnpm codegen",
11-
"prisma:clean": "prisma migrate reset --schema ./src/prisma/schema.prisma",
12-
"prisma:format": "prisma format --schema ./src/prisma/schema.prisma",
13-
"prisma:migrate": "prisma migrate dev --schema ./src/prisma/schema.prisma",
149
"start": "tsx watch src/index.ts",
1510
"typecheck": "tsc --pretty"
1611
},
@@ -23,7 +18,6 @@
2318
"@hono/node-server": "^1.19.0",
2419
"@hono/zod-validator": "^0.7.2",
2520
"@lens-chain/sdk": "^1.0.3",
26-
"@prisma/client": "^6.14.0",
2721
"dotenv": "^17.2.1",
2822
"hono": "^4.9.4",
2923
"hono-rate-limiter": "^0.4.2",
@@ -40,7 +34,6 @@
4034
"@hey/config": "workspace:*",
4135
"@hey/types": "workspace:*",
4236
"@types/node": "^24.3.0",
43-
"prisma": "^6.14.0",
4437
"typescript": "^5.9.2"
4538
}
4639
}

apps/api/src/index.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,12 @@ import { Hono } from "hono";
66
import authContext from "./context/authContext";
77
import cors from "./middlewares/cors";
88
import infoLogger from "./middlewares/infoLogger";
9-
import appRouter from "./routes/app";
109
import cronRouter from "./routes/cron";
1110
import lensRouter from "./routes/lens";
1211
import metadataRouter from "./routes/metadata";
1312
import oembedRouter from "./routes/oembed";
1413
import ogRouter from "./routes/og";
1514
import ping from "./routes/ping";
16-
import preferencesRouter from "./routes/preferences";
17-
import sitemapRouter from "./routes/sitemap";
1815

1916
const app = new Hono();
2017

@@ -25,13 +22,10 @@ app.use(infoLogger);
2522

2623
// Routes
2724
app.get("/ping", ping);
28-
app.route("/app", appRouter);
2925
app.route("/lens", lensRouter);
3026
app.route("/cron", cronRouter);
3127
app.route("/metadata", metadataRouter);
3228
app.route("/oembed", oembedRouter);
33-
app.route("/preferences", preferencesRouter);
34-
app.route("/sitemap", sitemapRouter);
3529
app.route("/og", ogRouter);
3630

3731
app.notFound((ctx) =>

apps/api/src/prisma/client.ts

Lines changed: 0 additions & 19 deletions
This file was deleted.

apps/api/src/prisma/migrations/20250226063758_init/migration.sql

Lines changed: 0 additions & 47 deletions
This file was deleted.

apps/api/src/prisma/migrations/20250513064236_remove_permissions/migration.sql

Lines changed: 0 additions & 18 deletions
This file was deleted.

apps/api/src/prisma/migrations/20250815122835_add_app_request/migration.sql

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)