Skip to content

Respotify is a modern music streaming platform. Enjoy seamless music playback with a sleek UI and secure authentication.

Notifications You must be signed in to change notification settings

sonwjnn/respotify

Repository files navigation

FullStack Respotify 🎼🎹

🔆 The website to play a music 🎵
🌊 Respotify with Nextjs 14, Authjs, Server actions, TailwindCSS, NeonDB(PostgreSQL), Drizzle, Stripe.

Demo

Preview 1Preview 2
Preview 3Preview 4

Features

  • 🛠️ Built in Next.js 14
  • 💻 Uses server actions
  • 🔑 Authentication using Auth.js
  • 💿 CRUD operations for songs, playlists, and photos. Functions include listening, replaying, and shuffling music playlists
  • 🌜 Dark/Light mode
  • 🌅 Lazy loading images and component mounting on scroll
  • 🛒 Spotify Premium purchase via Stripe
  • 🖥️ Applies Drizzle for type ORM
  • 🌟 Clean, modern UI using shadcn-ui
  • ✉️ Login/Register with Credentials, Google or GitHub
  • ⌨️ 100% written in TypeScript
  • 🎁 ...much more

Cloning the repository

git clone https://github.com/sonwjnn/respotify.git

Install

bun install

Setup .env file

DATABASE_URL=
NEXT_PUBLIC_APP_URL=
NEXT_PUBLIC_VERCEL_URL=

GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=

GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=

UPLOADTHING_SECRET=
UPLOADTHING_APP_ID=

AUTH_SECRET=

NEXT_PUBLIC_UNSPLASH_ACCESS_KEY=
NEXT_PUBLIC_UNSPLASH_SECRET_KEY=
NEXT_PUBLIC_UNSPLASH_CLIENT_ID=

STRIPE_WEBHOOK_SECRET=
STRIPE_API_KEY=

Usage

bun dev

Author

👤 Hoang Son

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2024 Hoang Son.
This project is MIT licensed.

About

Respotify is a modern music streaming platform. Enjoy seamless music playback with a sleek UI and secure authentication.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published