- Api :- JioSaavn unofficial api by Sumit Kolhe
- Database :- Supabase
- Authentication :- NextAuth.js + Google SignIn
This project utilizes database features, specifically using Supabase. As this is my first time working with databases, there might be unexpected issues or bugs in this aspect of the project. I'm actively learning and improving, but please bear with me as I navigate through this learning curve. Your feedback and contributions are highly appreciated!
Follow these steps to set up and run the project locally:
- Sign up or log in to Supabase
- Once logged in, navigate to your project dashboard.
- Find your project's API URL and public API key
- Copy these credentials and paste them into `src/utils/supabaseClient.js`:
- Create a `.env.local` file in the root directory of the project.
- Add your Google OAuth credentials to the `.env.local` file:
GOOGLE_ID=YOUR_GOOGLE_CLIENT_ID
GOOGLE_SECRET=YOUR_GOOGLE_CLIENT_SECRET
- Make sure to replace `YOUR_GOOGLE_CLIENT_ID` and `YOUR_GOOGLE_CLIENT_SECRET` with your actual credentials.
npm install
# or
yarn install
npm run dev
# or
yarn dev
- Once the server is running, open your web browser and go to http://localhost:3000.