Vinxi Has a Free API That Most Developers Dont Know About

javascript dev.to

Vinxi is the full-stack SDK powering SolidStart and TanStack Start. Composable routers for any app. Config import { createApp } from "vinxi"; export default createApp({ routers: [ { name: "public", type: "static", dir: "./public" }, { name: "client", type: "client", handler: "./app/client.tsx", target: "browser" }, { name: "api", type: "http", handler: "./app/api.ts", target: "server" } ] }); Server Functions const getUser = serverFn(async (id)

Read Full Tutorial open_in_new
arrow_back Back to Tutorials