Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "request-commerce",
"description": "A Request Network demo app for easy invoice creation using Request API",
"description": "A Request Network demo app for commerce and invoice management using Request API",
"version": "0.14.0",
"license": "MIT",
"packageManager": "pnpm@10.0.0",
Expand Down
4 changes: 2 additions & 2 deletions src/app/(auth)/signin/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import Link from "next/link";
import { redirect } from "next/navigation";

export const metadata: Metadata = {
title: "EasyInvoice | Simple Invoice Management",
title: "Request Commerce | Simple Invoice Management",
description: "Create, manage and track invoices easily with Request Network",
};

Expand All @@ -32,7 +32,7 @@ export default async function LoginPage() {
EASY TO USE CRYPTO INVOICING
</div>
<h1 className="text-4xl font-bold tracking-tight">
Welcome to EasyInvoice
Welcome to Request Commerce
</h1>
<p className="text-zinc-600">
Easily create and send invoices to your customers using crypto.
Expand Down
2 changes: 1 addition & 1 deletion src/app/(dashboard)/i/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { notFound, redirect } from "next/navigation";
import { getInvoiceMeLink } from "./helpers";

export const metadata: Metadata = {
title: "Invoice Me | EasyInvoice",
title: "Invoice Me | Request Commerce",
description: "Create an invoice for a service provider",
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -439,8 +439,8 @@ export function PaymentSection({ serverInvoice }: PaymentSectionProps) {
{formatCurrencyLabel(invoice.invoiceCurrency)}
</span>{" "}
on a mainnet blockchain, which means you'll be transferring{" "}
<span className="font-bold">actual value</span>. EasyInvoice is a
demonstration app and all blockchain transactions are
<span className="font-bold">actual value</span>. Request Commerce
is a demonstration app and all blockchain transactions are
irreversible.
</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/app/(dashboard)/invoices/[ID]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { notFound } from "next/navigation";
import { PaymentSection } from "./_components/payment-section";
import { getInvoice } from "./helpers";
export const metadata: Metadata = {
title: "Invoice Payment | EasyInvoice",
title: "Invoice Payment | Request Commerce",
description: "Process payment for your invoice",
};

Expand Down
4 changes: 2 additions & 2 deletions src/app/(dashboard)/payouts/batch/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { requireAuth } from "@/lib/auth";
import { BatchPayout } from "./_components/batch-payout";

export const metadata = {
title: "Batch Payouts | Easy Invoice",
description: "Send batch payouts using Easy Invoice",
title: "Batch Payouts | Request Commerce",
description: "Send batch payouts using Request Commerce",
};
export default async function BatchPayoutSlot() {
await requireAuth();
Expand Down
4 changes: 2 additions & 2 deletions src/app/(dashboard)/payouts/direct/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { requireAuth } from "@/lib/auth";
import { DirectPayment } from "./_components/direct-payout";

export const metadata = {
title: "Direct Payout | Easy Invoice",
description: "Create direct payouts using Easy Invoice",
title: "Direct Payout | Request Commerce",
description: "Create direct payouts using Request Commerce",
};
export default async function DirectPaymentPage() {
await requireAuth();
Expand Down
2 changes: 1 addition & 1 deletion src/app/(dashboard)/payouts/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { Metadata } from "next";
import { redirect } from "next/navigation";

export const metadata: Metadata = {
title: "Payouts | Easy Invoice",
title: "Payouts | Request Commerce",
description:
"Send single, batch or recurring payouts by creating a request first",
};
Expand Down
4 changes: 2 additions & 2 deletions src/app/(dashboard)/payouts/recurring/create/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { requireAuth } from "@/lib/auth";
import { CreateRecurringPayment } from "./_components/create-recurring-payment";

export const metadata = {
title: "Recurring Payments | Easy Invoice",
description: "Create recurring payments using Easy Invoice",
title: "Recurring Payments | Request Commerce",
description: "Create recurring payments using Request Commerce",
};
export default async function CreateRecurringPaymentSlot() {
await requireAuth();
Expand Down
4 changes: 2 additions & 2 deletions src/app/(dashboard)/payouts/recurring/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { api } from "@/trpc/server";
import { ViewRecurringPayments } from "./_components/view-recurring-payments";

export const metadata = {
title: "Recurring Payouts | Easy Invoice",
description: "Manage your recurring payouts using Easy Invoice",
title: "Recurring Payouts | Request Commerce",
description: "Manage your recurring payouts using Request Commerce",
};
export default async function RecurringPayoutsSlot() {
await requireAuth();
Expand Down
2 changes: 1 addition & 1 deletion src/app/(dashboard)/s/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { SubscriptionPlanPreview } from "./_components/subscription-plan-preview
import { getSubscriptionPlan } from "./helpers";

export const metadata: Metadata = {
title: "Subscribe | EasyInvoice",
title: "Subscribe | Request Commerce",
description: "Subscribe to a service provider",
};

Expand Down
7 changes: 4 additions & 3 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ const geistMono = localFont({
});

export const metadata: Metadata = {
title: "Easy Invoice",
description: "Easy Invoice is a simple and secure invoice payment platform.",
title: "Request Commerce",
description:
"Request Commerce is a simple and secure invoice payment platform.",
};

export default async function RootLayout({
Expand Down Expand Up @@ -61,7 +62,7 @@ export default async function RootLayout({
<Toaster />
</TooltipProvider>
</AppKit>
<VersionDisplay githubRelease="https://github.com/RequestNetwork/easy-invoice/releases" />
<VersionDisplay githubRelease="https://github.com/RequestNetwork/request-commerce/releases" />
</ThemeProvider>
</body>
</html>
Expand Down
2 changes: 1 addition & 1 deletion src/app/not-found.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default async function NotFound() {
<div className="max-w-2xl w-full text-center">
<div className="mb-8">
<div className="w-16 h-16 rounded-xl bg-foreground flex items-center justify-center mx-auto mb-6">
<span className="text-background font-bold text-xl">EI</span>
<span className="text-background font-bold text-xl">RC</span>
</div>
</div>

Expand Down
7 changes: 4 additions & 3 deletions src/components/app-kit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ import {
import { createAppKit } from "@reown/appkit/react";

const metadata = {
name: "Easy Invoice",
description: "Easy Invoice is a simple and secure invoice payment platform.",
url: "https://easyinvoice.request.network",
name: "Request Commerce",
description:
"Request Commerce is a simple and secure invoice payment platform.",
url: "https://commerce.request.network",
icons: ["./assets/logo.svg"],
};

Expand Down
4 changes: 2 additions & 2 deletions src/components/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ export function Footer() {
<footer className="w-full p-6 mt-auto" aria-label="Site footer">
<div className="max-w-7xl mx-auto flex justify-center items-center text-sm text-muted-foreground bg-transparent">
<div>
© {new Date().getFullYear()} EasyInvoice. All rights reserved. Built
by{" "}
© {new Date().getFullYear()} Request Commerce. All rights reserved.
Built by{" "}
<Link href="https://request.network" className="underline">
Request Network
</Link>
Expand Down
4 changes: 2 additions & 2 deletions src/components/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ export function Header({ user }: { user?: User | undefined }) {
className="flex items-center gap-x-2"
>
<div className="w-10 h-10 rounded-xl bg-primary flex items-center justify-center">
<span className="text-primary-foreground font-bold">EI</span>
<span className="text-primary-foreground font-bold">RC</span>
</div>
<span className="text-xl font-semibold text-foreground">
EasyInvoice
Request Commerce
</span>
</Link>

Expand Down
6 changes: 3 additions & 3 deletions src/components/invoice/invoice-form/invoice-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -885,9 +885,9 @@ export function InvoiceForm({
cryptocurrency.
</p>
<p>
EasyInvoice is a demonstration app only, designed to showcase
Request Network API functionality. Do not use for real
invoicing.
Request Commerce is a demonstration app only, designed to
showcase Request Network API functionality. Do not use for
real invoicing.
</p>
</AlertDescription>
</Alert>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/constants/ecommerce.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export const DEFAULT_CLIENT_ID_DOMAIN =
process.env.NEXT_PUBLIC_DEFAULT_ECOMMERCE_DOMAIN ||
"https://easyinvoice.request.network";
"https://commerce.request.network";
2 changes: 1 addition & 1 deletion src/server/db/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
uniqueIndex,
} from "drizzle-orm/pg-core";

export const createTable = pgTableCreator((name) => `easyinvoice_${name}`);
export const createTable = pgTableCreator((name) => `rncommerce_${name}`);

const encryptionKey = process.env.ENCRYPTION_KEY as string;

Expand Down