This is a Next.js 14 frontend for GPT-Flask. It integrates with Clerk for authentication and Google Cloud Storage for storing image files.
- Deploy a GPT-Flask instance
- Create a Clerk account and project (see the Clerk Documentation for more detail)
- Create a Google Cloud account, project, and storage bucket
- Create a .env.local file (See env.local.example for guidance). You will need info from Clerk, Google Cloud Storage, and the GPT Flask instance
npm install
npm run dev
to run the development sitenpm run build
andnpm run start
to run the production site- For production, you can use something like pm2 and nginx to run/proxy or deploy, or host on something like Vercel