Celestial Music is a web application that allows users to explore, listen to, and manage their favorite music. Built with HTML, CSS, JavaScript, and NestJS, it leverages MongoDB for data storage, JWT for authentication, and integrates with free music APIs and Cloudinary for media management.
- User authentication with JWT
- Browse and search for music
- Play music directly from the app
- Manage playlists and favorite tracks
- Responsive design for mobile and desktop
- Integration with free music APIs
- Media management with Cloudinary
- Frontend: HTML, CSS, JavaScript
- Backend: NestJS
- Database: MongoDB
- Authentication: JWT (JSON Web Tokens)
- APIs: Free music APIs
- Media Management: Cloudinary
- Node.js and npm installed
- MongoDB installed and running
- Clone the repository:
git clone https://github.com/yourusername/celestial-music.git cd celestial-music - Install dependencies:
npm install
3.Set up environment variables: Create a .env file in the root directory and add the following variables:
MONGODB_URI=your_mongodb_uri
JWT_SECRET=your_jwt_secret
CLOUDINARY_CLOUD_NAME=your_cloudinary_cloud_name
CLOUDINARY_API_KEY=your_cloudinary_api_key
CLOUDINARY_API_SECRET=your_cloudinary_api_secret- Run the application:
npm run start
Open your browser and navigate to http://localhost:3000. Sign up or log in to access the full features of the application. Browse and search for music, create playlists, and enjoy your favorite tracks.