Potify is a modern web application built with Next.js, React 19, and Tailwind CSS, powered by the Spotify Web API. It allows users to authenticate via Spotify, browse music content, and interact with their playlists.
@spotify/web-api-ts-sdk
axios
clsx
for classnamesgit clone https://github.com/Shiro-cha/potify.git
cd potify
npm install
.env.local
file in the root directory and add your credentials:SPOTIFY_CLIENT_ID=your_spotify_client_id
SPOTIFY_CLIENT_SECRET=your_spotify_client_secret
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=your_random_secret
Generate a NEXTAUTH_SECRET
with:
openssl rand -base64 32
Start the development server:
npm run dev
Uses
next dev --turbopack
for faster development.
Run with HTTPS (if needed):
npm run dev:https
Make sure https-server.js
is configured properly for your local certificates.
Build for production:
npm run build
Start the production server:
npm start
Run ESLint to check for issues:
npm run lint
potify/
โโโ components/ # Reusable UI components
โโโ lib/ # Helpers and API wrappers
โโโ pages/ # Next.js pages
โโโ public/ # Static files
โโโ styles/ # Tailwind global styles
โโโ https-server.js # Optional HTTPS dev server
โโโ .env.local # Environment variables
โโโ package.json
โโโ README.md
This project follows:
eslint-config-next
MIT ยฉ Shiro Yukami