Skip to content

Commit 90f9d3c

Browse files
authored
readme feito
.
1 parent a12fd56 commit 90f9d3c

File tree

1 file changed

+74
-0
lines changed

1 file changed

+74
-0
lines changed

README.md

+74
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
2+
# TuneBlendr Project API
3+
4+
The music platform API is a backend API built using Java Spring, Spring Web, and Dev Tools. The API provides a simple backend for a music platform, allowing for CRUD operations on songs and artists. The API has endpoints for retrieving a list of all songs or artists, retrieving a specific song or artist by ID, creating a new song or artist, updating a specific song or artist by ID, and deleting a specific song or artist by ID.
5+
6+
The API can be easily tested using Postman or any other HTTP client that supports sending JSON requests. The API accepts requests in JSON format and returns responses in JSON format as well.
7+
8+
This API provides a foundation for building a more complex music platform, allowing for the creation and management of songs and artists. It can be extended to include additional functionality, such as user authentication and authorization, playlists, and more.
9+
10+
11+
12+
## Running the API
13+
14+
To run the API, you will need Java 8 or higher installed on your machine. Once Java is installed, follow these steps:
15+
16+
Clone the repository to your local machine.
17+
Open the project in your preferred IDE.
18+
Build the project using the provided build script.
19+
Run the project using the provided run script.
20+
The API will be accessible at http://localhost:8080/
21+
22+
23+
24+
25+
26+
# Endpoints
27+
28+
## App Routes
29+
- GET/app/feed
30+
- POST/app/like/{id}
31+
- POST/app/comment/{id}
32+
- POST/app/createComment/{id}
33+
- GET/app/getComments/{MusicId}
34+
35+
## Log
36+
- GET/log/all
37+
38+
## Music Routes
39+
- POST/music/create/{userId}
40+
- DELETE/music/delete/{id}
41+
- GET/music/findMusicBy/{id}
42+
- POST/music/update/{id}
43+
44+
## UserCredentials Routes
45+
- POST/user/create
46+
- GET/user/findUser
47+
- DELETE/user/delete
48+
- POST/user/update
49+
50+
## UserInfo Routes
51+
- POST/user/createInfo/{userId}
52+
53+
## Music MarketPlace
54+
- POST/product/create/{userid}
55+
- GET/product/MarketFeed
56+
- DELETE/product/delete/{id}
57+
58+
## Auth Routes
59+
- GET/auth/login
60+
- POST/auth/register
61+
62+
## Forum Routes
63+
- POST/forum/create/{userId}
64+
- POST/message/{forumId}/{userId}
65+
- GET/forum/showMessages
66+
67+
68+
## Testing the API
69+
70+
To test the API, you can use Postman or any other HTTP client that supports sending JSON requests. You can use the provided documentation to see the available endpoints and their parameters.
71+
72+
## Conclusion
73+
74+
This API provides a simple backend for a music platform. It is built using Java Spring, and allows for CRUD operations on songs and artists. It can be easily extended to add additional functionality as needed.

0 commit comments

Comments
 (0)