How keleviss/playlyst works
Project type and purpose
• Playlyst is a single-page, front-end web application built with React and Vite.
• It integrates with the Spotify Web API to authenticate users (OAuth 2.0 + PKCE), search for tracks, create and save playlists, and play music.
• It is deployed as a static site on Netlify.
File structure
• Top-level: package.json, vite.config.js, index.html – build and deployment configuration for a front-end app.
• src/main.jsx, src/App.jsx – entry point and root component.
• src/api – thin client wrappers around Spotify Web API (userLogin, searchTracks, savePlaylist).
• src/Features – feature-based modules, each using the container/presentational (components vs. containers) pattern and CSS Modules for scoped styles.
• src/Shared – reusable UI components (buttons, notifications, modals, track items).
• src/utils – pure utility functions (time formatting, notifications).
README for additional insights
• Confirms OAuth 2.0 PKCE flow, React hooks for state management, responsive design, and CSS Modules.
• Deployment target: Netlify.
• No custom backend; all business logic lives in the client and delegates to Spotify’s services.