A modern, AI-powered music platform built with the T3 Stack and Next.js.
- AI-powered music recommendations using Groq AI
- Beautiful, modern UI with Shadcn and KokonutUI components
- Secure authentication with NextAuth.js
- Fully responsive design
- Dark/Light mode support
- Type-safe API with tRPC
- Prisma ORM for database management
- Node.js (v18 or higher)
- npm or yarn
- PostgreSQL database
- Clone the repository:
git clone https://github.com/yourusername/spotifai.git
cd spotifai- Install dependencies:
npm install- Set up your environment variables:
cp .env.example .envEdit .env with your configuration.
- Set up the database:
npm run db:generate
npm run db:push- Start the development server:
npm run devVisit http://localhost:3000 to see your app in action!
Next.js TypeScript Tailwind CSS Shadcn, KokonutUI Prisma tRPC NextAuth.js Groq Zustand
spotifai/
├── src/
│ ├── app/ # Next.js App Router pages
│ ├── components/ # React components
│ ├── lib/ # Utility functions
│ ├── server/ # Server-side code and API routes
│ └── styles/ # Global styles
├── prisma/ # Database schema and migrations
└── public/ # Static assets
npm run dev- Start development servernpm run build- Build for productionnpm start- Start production servernpm run db:studio- Open Prisma Studionpm run lint- Run ESLintnpm run db:push- Push database changes
This project is licensed under the MIT License.
Contributions are welcome! Please feel free to submit a Pull Request.
Built with using the T3 Stack