{"id":30685173,"url":"https://github.com/pedroestevaodev/spotify-clone","last_synced_at":"2026-06-19T14:32:39.252Z","repository":{"id":237697566,"uuid":"795070307","full_name":"pedroestevaodev/spotify-clone","owner":"pedroestevaodev","description":"This is a full-featured Spotify clone built with a modern full-stack tech stack. It provides a complete music streaming experience with music upload, user authentication, playlist management, and subscription payments via Stripe.","archived":false,"fork":false,"pushed_at":"2025-08-21T14:40:42.000Z","size":129,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-21T19:33:12.612Z","etag":null,"topics":["authentication","full-stack","music-streaming","nextjs","postgresql","react","spotify","spotify-clone","stripe","supabase","supabase-auth","tailwindcss","typescript"],"latest_commit_sha":null,"homepage":"https://spotify-clone-pedroestevao.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pedroestevaodev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-05-02T14:22:28.000Z","updated_at":"2025-08-21T14:41:21.000Z","dependencies_parsed_at":"2024-05-03T01:29:42.567Z","dependency_job_id":"86e210a4-89e2-4173-87c5-67b1d5415a4a","html_url":"https://github.com/pedroestevaodev/spotify-clone","commit_stats":null,"previous_names":["pedro-estevao/spotify-imersao-alura","pedroestevaodev/spotify-imersao-alura","pedroestevaodev/spotify-clone"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pedroestevaodev/spotify-clone","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedroestevaodev%2Fspotify-clone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedroestevaodev%2Fspotify-clone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedroestevaodev%2Fspotify-clone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedroestevaodev%2Fspotify-clone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pedroestevaodev","download_url":"https://codeload.github.com/pedroestevaodev/spotify-clone/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedroestevaodev%2Fspotify-clone/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34536276,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-19T02:00:06.005Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["authentication","full-stack","music-streaming","nextjs","postgresql","react","spotify","spotify-clone","stripe","supabase","supabase-auth","tailwindcss","typescript"],"created_at":"2025-09-01T21:09:03.707Z","updated_at":"2026-06-19T14:32:39.204Z","avatar_url":"https://github.com/pedroestevaodev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spotify Clone - Full Stack Music Streaming App\n\n\u003cp style=\"text-align: center;\"\u003e\n    \u003ca href=\"https://www.pedroestevao.com\"\u003e\n        \u003cimg src=\"https://res.cloudinary.com/dge3g9rcw/image/upload/v1747350579/github/my4jy83jt7grpjk7ojuo.webp\" alt=\"Illustrative image\" /\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\nA full-featured **Spotify Clone** built with the latest **Next.js App Router**, fully responsive and integrated with **Supabase**, **Stripe**, and **PostgreSQL**. This project reproduces key features of the real [**Spotify**](https://open.spotify.com/) app, including audio streaming, authentication, playlists, payments, and more. All with a modern UI powered by **Tailwind CSS**.\n\n## About the Project\n\nThis application is the result of a comprehensive full stack tutorial that guides developers through the process of creating a **production-ready music streaming service**.\n\nYou’ll find implementations for:\n\n- User authentication (via email/password and GitHub)\n- Audio playback with a custom player\n- File uploads (images and songs)\n- Playlists and liked songs\n- Premium subscription via Stripe\n- Protected routes and access control\n- Data fetching via server components\n\n\u003e **Disclaimer**: This is a **learning project** and not intended for commercial use. Spotify™ is a trademark of Spotify AB.\n\n## Tech Stack\n\nThe project was built using the following technologies and tools:\n\n- [Next.js (App Router)](https://nextjs.org/) - React framework for web applications.\n- [React](https://react.dev/) - JavaScript library for building user interfaces.\n- [TypeScript](https://www.typescriptlang.org/) - JavaScript superset for static typing.\n- [Tailwind CSS](https://tailwindcss.com/) - Utility-first CSS framework for fast and customizable design.\n- [Supabase](https://supabase.com/) (auth, storage, PostgreSQL)\n- [Stripe](https://stripe.com/) (subscriptions and payments)\n- [PostgreSQL](https://www.postgresql.org/)\n- [Zustand](https://github.com/pmndrs/zustand) (state management)\n- [React Hook Form](https://react-hook-form.com/) (form handling)\n- [React Toast](https://react-hot-toast.com/) (notifications)\n\n## Features\n\n- **Play Songs**: Stream music directly in-app\n- **Advanced Audio Player**: Responsive and persistent across pages\n- **Upload Songs \u0026 Images**: Via Supabase Storage\n- **Authentication**: Email/password and GitHub login\n- **Database**: Full CRUD with Supabase (PostgreSQL)\n- **Liked Songs System**\n- **Playlists Creation**\n- **Stripe Integration**: Premium subscription with recurring payments\n- **Protected Routes**\n- **Client-side and server-side validations**\n- **Responsive UI with transitions and animations**\n- **Server Components with direct DB queries (no API routes needed)**\n\n## Setup \u0026 Installation\n\n### 1. Clone the repository\n\n```bash\ngit clone https://github.com/pedroestevaodev/spotify-clone.git\ncd spotify-clone\n```\n\n### 2. Install dependencies\n\n```bash\n$ npm install\n```\n\n### 3. Environment Variables\n\nCreate a `.env.local` file in the root and configure the following variables:\n\n```bash\nNEXT_PUBLIC_SUPABASE_URL=\"tobemodified\"\nNEXT_PUBLIC_SUPABASE_ANON_KEY=\"tobemodified\"\nSUPABASE_SERVICE_ROLE_KEY=\"tobemodified\"\nNEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=\"tobemodified\"\nSTRIPE_SECRET_KEY=\"tobemodified\"\nSTRIPE_WEBHOOK_SECRET=\"tobemodified\"\n```\n\n\u003e You need to set up storage buckets in Supabase (for music and images) and activate Stripe with your plans/subscriptions.\n\n### 4. Start the development server\n\n```bash\n$ npm run dev\n```\n\nOpen your browser and visit `http://localhost:3000` to see the project in action.\n\nYou can start editing the homepage by modifying the `app/layout.tsx` file. The browser will automatically update as you make changes to the code.\n\n## Available Commands\n\nHere are the main commands available for the project:\n\n| Command          | Description                   |\n| ---------------- | ----------------------------- |\n| `dev`       | Starts the development server |\n| `build`     | Builds the app for production |\n| `start`     | Runs the built app            |\n| `lint`      | Lints the code using ESLint   |\n\n## Resources\n\nTo learn more about the technologies used in this project, check out the following resources:\n\n- [Next.js Docs](https://nextjs.org/docs) - Learn more about Next.js features and APIs.\n- [Next.js Learn](https://nextjs.org/learn) - Interactive tutorial to learn Next.js.\n- [React Docs](https://pt-br.react.dev/learn) - Access the official React guide.\n- [Tailwind CSS Docs](https://tailwindcss.com/docs) - Learn how to use Tailwind CSS to style your application.\n- [Supabase Docs](https://supabase.com/docs) - Learn how to get up and running with Supabase through tutorials, APIs and platform resources.\n\n## Deploy\n\nThe easiest way to deploy your Next.js application is by using the [Vercel Platform](https://vercel.com/new), created by the developers of Next.js.\n\nCheck out the [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.\n\n\u003e Make sure to set the environment variables in Vercel \u003e Settings \u003e Environment Variables.\n\n## License\n\nThis project is open source and available under the [MIT License](https://mit-license.org/).  \n\u003cbr /\u003e\n\n---\n\n\u003cbr /\u003e\n\n**Built with ☕ by [Pedro Estevão](https://www.pedroestevao.com)**\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedroestevaodev%2Fspotify-clone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpedroestevaodev%2Fspotify-clone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedroestevaodev%2Fspotify-clone/lists"}