Skip to content

jennnx/resumeai

Repository files navigation

ResumeAI Tutorial Template

[ One-Click Deploy to Vercel 🚀 ]

Deploy with Vercel

Make sure you have the necessary env variables from Step 0 so the app builds!

Context

This SvelteKit app processes job applications and evaluates the candidate's aptitude for a given job.

Note: This Template is part of a video tutorial on Youtube. Want a full step-by-step walkthrough guide? Check out the full programming guide!

Any questions or requests? Feel free to reach out on X at @jayjen_x!

Getting Started

0. Pre-requisites

This template uses OpenAI's GPT-4 for the LLM, and Neon's hosted Postgres for the database. Make sure you make an account and get an API Key from OpenAI, and a Pooled Connection String from Neon.

Note that GPT-4 will cost about $0.15 per run (you can use 3.5-turbo for half the cost but worse results). Neon has a generous free tier (no credit card needed).

1. Clone the repository

git clone https://github.com/jennnx/resumeai.git

2. Install dependencies

npm install # npm
pnpm install # pnpm
yarn # yarn

3. Create a .env file at the root of the project

cd resumeai && touch .env

And add the variables from Step 0.

OPENAI_API_KEY=sk-......
DATABSE_URL=postgres......

3. Create the required SQL Databases

The SQL Queries for creating the DBs are in /scripts/initialize.sql. Run these to make sure your databses have the correct shape.

You can run them...

  • in the Neon Console on their website
  • using psql

4. Launch the dev server

npm dev # Server running on localhost:5173