Skip to content

Starter code and completed examples for the CoverSnap tutorial series — learn how to build and monetize an AI-powered SaaS app with Next.js, OpenAI, and Stripe.

Notifications You must be signed in to change notification settings

codedlabdev/coversnap-tutorial

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CoverSnap Tutorial

A minimal Next.js + OpenAI demo app for generating tailored cover letters with GPT models.
This repo accompanies the tutorial series showing how to build and integrate LLMs into a modern web app.

YouTube tutorial: https://www.youtube.com/watch?v=OUwleDqAwXI


🚀 Getting Started

1. Clone the repo

git clone https://github.com/jspruance/coversnap-tutorial.git
cd coversnap-tutorial/1-coversnap-starter

2. Install dependencies

npm install

3. Set up your OpenAI API key

OPENAI_API_KEY=your_api_key_here

🔑 Never commit your API key to GitHub. Keep it in local env files or secrets managers.

4. Run the dev server

npm run dev

Then open http://localhost:3000 in your browser.


Production app

https://coversnapapp.com/


📖 Docs & References


🛠️ Features

  • Next.js 14 (App Router)
  • TailwindCSS for styling
  • API route (/api/generate) using OpenAI’s Responses API
  • Configurable tone and length for cover letters
  • Example form + results display

📜 License

MIT — feel free to use and adapt.

About

Starter code and completed examples for the CoverSnap tutorial series — learn how to build and monetize an AI-powered SaaS app with Next.js, OpenAI, and Stripe.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 87.8%
  • CSS 10.1%
  • JavaScript 2.1%