Open source alternatives to paid SaaS apps: Notion, Slack, Auth0, Vercel and more. Curated list with licenses and GitHub stars.
JavaScript alternativesauth0-alternativeawesomeawesome-listfigma-alternativefirebase-alternativefree-softwarenotion-alternativeopen-sourceopen-source-alternativesopen-source-softwarepostman-alternativeprivacysaassaas-alternativesself-hostedselfhostedslack-alternativevercel-alternativezapier-alternative
Remove unrelated code files
Anil Chandra Naidu Matchaa478df93c7ad
diff --git a/src/app/api/stripe/checkout/route.js b/src/app/api/stripe/checkout/route.jsdeleted file mode 100644index de4b13d..0000000--- a/src/app/api/stripe/checkout/route.js+++ /dev/null@@ -1,29 +0,0 @@-import { NextResponse } from "next/server";-import { getServerSession } from "next-auth/next";-import { authOptions } from "@/lib/auth";-import { BillingService } from "@/lib/services/billing";--export async function POST(req) {- try {- const session = await getServerSession(authOptions);-- if (!session?.user) {- return new NextResponse("Unauthorized", { status: 401 });- }-- const { planId } = await req.json();- if (!planId) {- return new NextResponse("Missing planId", { status: 400 });- }-- const checkoutUrl = await BillingService.createCheckoutSession(- session.user.id,- planId- );-- return NextResponse.json({ url: checkoutUrl });- } catch (error) {- console.error("[STRIPE_CHECKOUT]", error);- return new NextResponse(error.message || "Internal Checkout Error", { status: 500 });- }-}