Welcome to Fabrk! This guide will help you get started in minutes.
[PREREQUISITES]:
Before you begin, make sure you have:
- Node.js 18+ installed
- A PostgreSQL database (local or hosted)
- Stripe account (for payments)
- Resend account (for emails)
[INSTALLATION]:
First, clone the repository and install dependencies:
git clone https://github.com/fabrk/fabrk.git
cd fabrk
npm install[ENVIRONMENT SETUP]:
Copy the example environment file:
cp .env.example .env.localThen update <code>.env.local</code> with your credentials:
DATABASE_URL="postgresql://user:password@localhost:5432/fabrk"
NEXTAUTH_SECRET="your-secret-here"
NEXTAUTH_URL="http://localhost:3000"
# Stripe
STRIPE_SECRET_KEY="sk_test_..."
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY="pk_test_..."
# Email (Resend)
RESEND_API_KEY="re_..."[DATABASE SETUP]:
Push the Prisma schema to your database:
npm run db:push[START DEVELOPMENT SERVER]:
Run the development server:
npm run devOpen [http://localhost:3000](http://localhost:3000) to see your app!
[NEXT STEPS]:
Now that you're set up, explore these guides:
- [Authentication Setup](/docs/auth) - Configure OAuth providers
- [Stripe Integration](/docs/payments) - Set up payments
- [Email Templates](/docs/emails) - Customize transactional emails
- [UI Components](/docs/ui-components) - Browse 78+ components
[NEED HELP?]:
- [Full Documentation](/docs)
- [GitHub Discussions](https://github.com/your-org/your-repo/discussions)
- [Report Issues](https://github.com/your-org/your-repo/issues)