Starter Template for a Full-Stack ChatGPT Web App

9 ratings

Get a full-stack web app with ChatGPT running in under 3 minutes

Building a full-stack app from scratch sucks, especially now that AI is becoming part of the stack.

Despite a web full of wikis and documentation, you'd have to spend hours setting up a frontend app, API, and database and now integrating large language models too.

So, I created a starter code template to help developers hit the ground running with a full-stack, type-safe web app integrated with ChatGPT, in just under 3 minutes.

It's powered by gpt-3.5-turbo, OpenAI's most powerful Large Language Model yet.


For Hobbyists

I've included a starter template for those who want to build simple AI-powered apps. The template is heavily documented – I've put up comments and sample commands throughout the code and README files.

If you've never worked with one of the frameworks or tools used in the template, no worries. I've also included links to documentation and relevant resources.

This should save you 6-8 hours of time setting up the core features for a new AI-powered app and understanding what's happening everywhere. No more Chrome windows full of Stack Overflow and "Getting Started with (cool technology)" tabs.

What You're Getting, aka the "features"

The Starter Template includes:

  • A frontend app (Next.js + Tailwind CSS for building classy React apps)
  • Database Tooling (Prisma ORM for PostgreSQL, SQLite, MySQL, etc.)
  • Integration with ChatGPT (OpenAI's gpt-3.5-turbo model + LangChain for LLM management)
  • Built-in API (tRPC for API routing)
  • Authentication (NextAuth.js with 'Sign In with Discord' implemented)
  • Deployment guides for Vercel, Docker, etc.


Watch the Demo


For Developers

I've included two additional templates for full-stack and web developers:

1. ChatGPT Plus Kit

Build beautiful production-ready apps supporting GPT-3.5 and GPT-4. Built on Next.js + Supabase.

Some extra features include:

  • Choose which LLM to use for a chat, like gpt-4 or gpt-3.5-turbo
  • Stream chat responses live, word-by-word, just like OpenAI's interface
  • A minimalistic frontend that resembles the ChatGPT interface. Get pre-styled components for a chat screen, sidebar, buttons, etc.
  • Control how much you 💲 spend on the OpenAI API. You can set custom rate limits for users to limit usage, or ask them to "bring in their own API key".
  • Built-in database functions to store, update, and read chats


Watch the demo


2. Train ChatGPT On Your Own Data

Build ChatGPT apps powered by vector search: Ask questions and chat with your own documents and websites.

Vector stores like Pinecone and Supabase are all the hype right now. This template pairs LLMs with vector stores and a nice front-end interfaces, so you can train your own little ChatGPT. On books, developer documentation, blog posts, or any other form of text.

What you can do:

  • Build custom chatbots and AI assistants
  • Semantic search and Q&A on knowledge bases
  • Playing around with vector databases (Pinecone and Supabase pgvector)

This template includes built-in authentication with Clerk. Other features include "streaming" chat responses and integration with Vercel's new ai-sdk.


Watch the demo


FAQs

  1. What's inside?

You'll get zipped folders of the templates, as well as video tutorials to help you set up and get started.

  1. Which plan is right for me?

If you're new to development or just tinkering with an idea, I'd recommend the Hobbyist plan. If you want to release your app in production or build something with vector databases, I'd recommend the Developer plan.

  1. Is this really worth $25?

If you had to set up the frontend, databases, authentication, text streaming, etc. yourself you'd need to spend tons of hours. I've already done all that work for you in advance.

  1. Do you offer refunds?

Yes! If you don't save time with this template or don't find it worth your money, I offer a 30-day refund policy. No interrogation, no worries. Just hit [Reply] on your Purchase Confirmation email and write to me.

  1. What if I have more questions?

Hit [Reply] on your Purchase Confirmation email and write to me. I'll get back to you as soon as I can.

  1. Anything else?

If you like this product, please rate it ★★★★★ here, on the sidebar in Gumroad.

I want this!

You'll get templates to build your own ChatGPT apps, plus documentation and videos to get started

Stack
Next.js + LangChain + Prisma / Supabase + Pinecone
Access
Lifetime
Tutorials and updates
Included
Copy product URL

Ratings

5.0
(9 ratings)
5 stars
100%
4 stars
0%
3 stars
0%
2 stars
0%
1 star
0%
$25

Starter Template for a Full-Stack ChatGPT Web App

9 ratings
I want this!