This is a Next.js project bootstrapped with create-next-app
.
Introducing Spotify Clone
Spotify Clone is .....
Nextjs 12 (Back-end and routing) React (Front-end) Debounce (Prevent spamming) Middleware (Checks all the requests if you authenticated) Tailwind CSS (Styling) Spotify API (Fetch playlists, songs, etc) oAuth JWT (Access/refresh tokens) NextAuth (Spotify Auth) Recoil (State management) ReactIcons (Icons) lodash (Utility functions) Custom hook (Spotify Hook)
Clone the repository Install dependencies Create .env file in root and add your variables
NEXTAUTH_URL=ADD http://localhost:3000 for LOCAL OR YOUR URL
NEXT_PUBLIC_CLIENT_SECRET=FROM SPOTIFY DASHBOARD
NEXT_PUBLIC_CLIENT_ID=FROM SPOTIFY DASHBOARD
JWT_SECRET=ANY SECRET VALUE
Run the app
npm start
Open http://localhost:3000 with your browser to see the result.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.