A spotify clone built with SvelteKit and Tailwind CSS.
Create a .env
file in root directory.
Create a spotify developer app and get your credentials here.
SPOTIFY_APP_CLIENT_ID=YOUR_SPOTIFY_CLIENT_ID
SPOTIFY_APP_CLIENT_SECRET=YOUR_SPOTIFY_CLIENT_SECRET
SPOTIFY_BASE_URL=https://api.spotify.com/v1
BASE_URL=http://localhost:3000
pnpm install
# then
pnpm run dev
# or start the server and open the app in a new browser tab
pnpm run dev -- --open
To create a production version of your app:
pnpm run build
You can preview the production build with pnpm run preview
.
To deploy your app, you may need to install an adapter for your target environment.