8000
Skip to content

Nyaughh/spotifai

Repository files navigation

Spotifai

A modern, AI-powered music platform built with the T3 Stack and Next.js.

TypeScript Next.js Prisma Tailwind CSS tRPC

Features

  • 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

Getting Started

Prerequisites

  • Node.js (v18 or higher)
  • npm or yarn
  • PostgreSQL database

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/spotifai.git
cd spotifai
  1. Install dependencies:
npm install
  1. Set up your environment variables:
cp .env.example .env

Edit .env with your configuration.

  1. Set up the database:
npm run db:generate
npm run db:push
  1. Start the development server:
npm run dev

Visit http://localhost:3000 to see your app in action!

Tech Stack

Next.js TypeScript Tailwind CSS Shadcn, KokonutUI Prisma tRPC NextAuth.js Groq Zustand

Project Structure

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

Scripts

  • npm run dev - Start development server
  • npm run build - Build for production
  • npm start - Start production server
  • npm run db:studio - Open Prisma Studio
  • npm run lint - Run ESLint
  • npm run db:push - Push database changes

License

This project is licensed under the MIT License.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.


Built with using the T3 Stack

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages

0