apiker

Create Serverless APIs using Cloudflare Workers, Durable Objects & Wrangler

npm version Build Status Publish Status join our chat

📦 Installation & Usage

With Apiker, you can create an API in only 3 lines of code

import { apiker, res } from "apiker";
const routes = { "/users/:id/hello": () => res("Hello World!") };

apiker.init({ routes, exports, objects: ["Common"] });

➡️ GET /users/my-user/hello

{ "message": "Hello World!" }

Note: To run Apiker, you need a Cloudflare account with Durable Objects access.

📖 Documentation

Check out the Apiker documentation site.

✅ Contributing

PRs and issues are welcome. Feel free to submit any issues you have at: https://github.com/hodgef/Apiker/issues

Questions? Join the chat

Generated using TypeDoc