A collaborative music jam system built for HackToFuture3.0, allowing teams to add songs to a shared Spotify jam session with controlled playback.
- Team-Based Access: Secure login system with team-specific codes
- Spotify Integration: Seamless connection with Spotify for music playback
- Queue Management:
- Add songs to the queue
- View current queue
- Remove songs (admin only)
- Clear entire queue (admin only)
- Admin Features:
- Exclusive playback control
- Queue management capabilities
- Device management
- User Experience:
- Modern, responsive UI
- Real-time queue updates
- Terms and conditions acceptance
- Session management
- Node.js (v14 or higher)
- npm or yarn
- Spotify Developer Account
- AppWrite account
- Vercel account (for deployment)
- Create a
.env.localfile in the root directory with the following variables:
APPWRITE_URI=your_appwrite_uri
SPOTIFY_CLIENT_ID=your_spotify_client_id
SPOTIFY_CLIENT_SECRET=your_spotify_client_secret
SPOTIFY_REDIRECT_URI=http://htfy.vercel.app/api/spotify/callback- Clone the repository:
git clone https://github.com/yourusername/HTF3_Spotify.git
cd HTF3_Spotify- Install dependencies:
npm install
# or
yarn install- Run the development server:
npm run dev
# or
yarn dev- Open https://htfy.vercel.app in your browser.
- Frontend: Next.js, React, TypeScript
- Backend: Next.js API Routes
- Database: AppWrite
- Authentication: Custom team code system
- Styling: CSS-in-JS
- API Integration: Spotify Web API
- Hosting: Vercel
- Enter your team code to login
- Connect your Spotify account
- Search for songs and add them to the queue
- View the current queue and track information
- Login with admin credentials
- Connect Spotify account
- Control playback and manage the queue
- Select playback device
- Monitor and manage the music queue
- Team-based authentication
- Admin-only controls
- Secure token management
- Session timeout
- Terms and conditions acceptance
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Spotify for their excellent API
- Next.js team for the amazing framework
- AppWrite for the database service
- Vercel for the hosting platform
- All contributors and team members
For support, please contact the project maintainers or open an issue in the repository.
Made with ❤️ for HackToFuture 3.0