mislavjc / spotichat

Home Page:https://spotichat.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spotichat

A playground for testing OpenAI function calling using the Spotify API to create a message-like interface for getting user stats.

App Screenshot

Tech Stack

Frontend: Next.js, TailwindCSS, shadcn/ui

DBs: Vercel Postgres

Libs: Next Auth, Prisma, Vercel AI

Run Locally

Clone the project

  git clone https://github.com/mislavjc/spotichat.git

Go to the project directory

  cd spotichat

Install dependencies

  pnpm install

Start the dev server

  npm run dev

Environment Variables

To run this project, you will need to add the following environment variables to your .env file:

Vercel Postgres

POSTGRES_PRISMA_URL POSTGRES_URL_NON_POOLING

Vercel KV

KV_REST_API_READ_ONLY_TOKEN KV_REST_API_TOKEN KV_REST_API_URL KV_URL

PlanetScale

DATABASE_URL

Authentication

NEXTAUTH_SECRET NEXTAUTH_URL SPOTIFY_CLIENT_ID SPOTIFY_CLIENT_SECRET

OpenAI

OPENAI_API_KEY

About

https://spotichat.vercel.app


Languages

Language:TypeScript 95.7%Language:CSS 3.2%Language:JavaScript 0.9%Language:Shell 0.2%