mirror of
https://github.com/LukeHagar/polar.git
synced 2025-12-07 20:57:45 +00:00
* wip * add static example app * wip * wip * use relative path for jsx import * wip * working with single upgrade * add premium plus upgrade cta * make the ctas pricing page style * update price tiles * wip * add current plan state * wip * working checkouts * add free tier tile * fix cta button arrows * fix customer model * add dummy manage subscription button * improve subscription manage button * fix current plan tile state * revoke existing subscriptions when a new subscription is created * support upgrade, downgrade, cancel * add downgrade buttons * wip * implement upgrade/cancel functionality * add downgrade confirmation * add upgrade confirmation * add billing settings panel * wip * wip * split out pricing panel section * fix manage button * wip * working * wip * differentiate premium plus * fix price for current subscription * add prices * add interval toggle * wip * set default interval for change plan screen * simplify * add yearly pricing * fix upgrade/downgrade * prompt on delete * wip - docs * wip * wip - docs * wip * wip * wip * wip * wip * update version
12 lines
242 B
TypeScript
12 lines
242 B
TypeScript
import { httpRouter } from "convex/server";
|
|
import { polar } from "./example";
|
|
|
|
const http = httpRouter();
|
|
|
|
polar.registerRoutes(http, {
|
|
// Optional custom path, default is "/events/polar"
|
|
path: "/events/polar",
|
|
});
|
|
|
|
export default http;
|