This is a T3 Stack project bootstrapped with create-t3-app
and components from https://github.com/steven-tey/precedent
browny-macbook.mp4
- Search any books / authors / categories
- Select a book from the search results
- Click Generate Playlist to generate a playlist based on the book's title and description
- Review the generated results, feel free to re-generate the playlist if you don't like the results
- Click Sign in with Spotify to sign in to your Spotify account
- Click Save to Spotify playlist to save the playlist to your Spotify account
- Create a
.env
file in the root directory of the project (refer to.env.example
) - Add the following environment variables to the
.env
file
DATABASE_URL=
NEXTAUTH_SECRET=
NEXTAUTH_URL=
SPOTIFY_CLIENT_ID=<your-spotify-client-id>
SPOTIFY_CLIENT_SECRET=<your-spotify-client-secret>
GOOGLE_BOOKS_API_KEY=<your-google-books-api-key>
OPENAI_API_KEY=<your-openai-api-key>
-
Create a Spotify app at https://developer.spotify.com/dashboard/applications and get the client ID and secret
-
Create a Google Books API key at https://developers.google.com/books/docs/v1/using
-
Create an account at OpenAI at https://beta.openai.com/account/api-keys - and create an API key
Follow our deployment guides for Vercel, Netlify and Docker for more information.