A simple Next.js app that displays now playing status of the currently playing song using Spotify API & TailwindCSS. This project was created as the final project for "Framework Valley: React" at codedex.io.
Check out the live demo: Pookiefy
To get a local copy up and running, follow these steps:
- Node.js
- npm or any other package manager
- Spotify app (can be created at Spotify Dashboard)
- Enable
user-read-playback-state
scope. - Add
http://localhost:3000/api/callback
or your deployment callback url as redirect uri.
- Enable
-
Clone the repo:
git clone https://github.com/FireHead90544/Pookiefy.git cd Pookiefy
-
Install dependencies:
npm install # or yarn install
-
Set up environment variables:
- Create a
.env
file in the root directory. - Add your Spotify API credentials to the
.env
file:SPOTIFY_CLIENT_ID=your_client_id SPOTIFY_CLIENT_SECRET=your_client_secret
- Create a
-
Start the development server:
npm run dev # or yarn dev
-
Open http://localhost:3000 with your browser to see the result.
- Open the application.
- Authorize with your Spotify account.
- View the currently playing song on your Spotify account.
Contributions are welcome! Please fork the repository and create a pull request with your changes.
Distributed under the MIT License. See LICENSE
for more information.
This is a Next.js project bootstrapped with create-next-app
.
The easiest way to deploy this Next.js app for production use is to deploy it on Vercel.