Thanks to visit codestin.com
Credit goes to github.com

Skip to content

emnsxyz24/simple-invoicing-app

Repository files navigation

Invoicing App with Xata, Clerk, Midtrans, and Resend

This project is built using Next.js, Xata (database), Clerk (authentication), Midtrans (payment gateway), and optionally Resend (for email sending).


🚀 Getting Started

1. Clone the repository

git clone <your-repo-url>
cd <your-project-folder>

2. Install dependencies

npm install

3. Build the project

npm run build

4. Start the project

npm run start

🔑 Environment Variables

Before running the app, make sure to configure the following environment variables in a .env.local file:

# Xata
XATA_API_KEY=your_xata_api_key
XATA_BRANCH=main

# Clerk
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your_clerk_publishable_key
CLERK_SECRET_KEY=your_clerk_secret_key

# Midtrans
MIDTRANS_SERVER_KEY=your_midtrans_server_key
MIDTRANS_CLIENT_KEY=your_midtrans_client_key

# Resend (optional, if you use email sending)
RESEND_API_KEY=your_resend_api_key

📦 Tech Stack

  • Next.js – React framework for building web apps
  • Xata – Serverless database
  • Clerk – Authentication and user management
  • Midtrans – Payment gateway
  • Resend – Email API (optional)

🛠 Development

For local development, you can run:

npm run dev

This will start the project in development mode.


📄 License

This project is licensed under the MIT License – feel free to use and modify it as you like.

About

Simple Invoicing app using Xata, Clerk, Midtrans, and Resend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published