Skip to content

faizan-yousaf/Promptly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

286 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a Next.js project bootstrapped with create-next-app.

Getting Started

Environment Variables

Create a .env.local file in the root directory with the following variables:

# AI Services
GEMINI_API_KEY=your_gemini_api_key_here
GROQ_API_KEY=your_groq_api_key_here

# Clerk Authentication
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your_clerk_publishable_key_here
CLERK_SECRET_KEY=your_clerk_secret_key_here
CLERK_WEBHOOK_SECRET=your_clerk_webhook_secret_here

# Application Settings
SITE_URL=http://localhost:3000
NODE_ENV=development
ADMIN_EMAIL=admin@example.com

# RAG Service (Optional - for enhanced AI responses)
RAG_API_URL=http://localhost:8000
SUPABASE_URL=your_supabase_url_here
SUPABASE_SERVICE_KEY=your_supabase_service_key_here

Running the Development Server

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Setting up Environment Variables on Vercel

  1. Go to your Vercel project dashboard
  2. Navigate to Settings → Environment Variables
  3. Add the following environment variables:
Variable Name Value Environment
GEMINI_API_KEY Your Gemini API key Production, Preview, Development
GROQ_API_KEY Your Groq API key Production, Preview, Development
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY Your Clerk publishable key Production, Preview, Development
CLERK_SECRET_KEY Your Clerk secret key Production, Preview, Development
CLERK_WEBHOOK_SECRET Your Clerk webhook secret Production, Preview, Development
SITE_URL Your production URL Production, Preview, Development
ADMIN_EMAIL Admin email address Production, Preview, Development
RAG_API_URL Your RAG API URL (optional) Production, Preview, Development
SUPABASE_URL Your Supabase URL (optional) Production, Preview, Development
SUPABASE_SERVICE_KEY Your Supabase service key (optional) Production, Preview, Development
  1. Redeploy your project after adding the environment variables

Check out Next.js deployment documentation for more details.

About

Create, optimize, and share prompts; faster and smarter. 😉

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors