A RESTful Playlist Management API built using Node.js, Express.js, and MongoDB. It allows users to create playlists, manage songs, and perform CRUD operations.
- Create Playlist
- Get All Playlists
- Get Playlist By ID
- Update Playlist
- Delete Playlist
- Add Song to Playlist
- Remove Song from Playlist
- Node.js
- Express.js
- MongoDB Atlas
- Mongoose
- Postman
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/playlists | Create Playlist |
| GET | /api/playlists | Get All Playlists |
| GET | /api/playlists/:id | Get Playlist By ID |
| PUT | /api/playlists/:id | Update Playlist |
| DELETE | /api/playlists/:id | Delete Playlist |
| POST | /api/playlists/:id/songs | Add Song |
| DELETE | /api/playlists/:id/songs/:songId | Remove Song |
npm install
npm run dev
Aditi Rathi