How does CheapStack handle API routes?
The API Starter ($29) is a minimal scaffold: JWT sign and verify helpers built on jose, Zod request schemas, and Hono available as a dependency. You add the routes and the database layer.
api/implementation.ts
import { Hono } from "hono";
import { jwt } from "hono/jwt";
const app = new Hono();
app.use("/api/*", jwt({ secret: process.env.JWT_SECRET! }));
app.get("/api/users", async (c) => {
const users = await db.select().from(usersTable);
return c.json(users);
});