GithubHelp home page GithubHelp logo

bhavya1099 / api-musicblender-java Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bhhavyarsureka/api-musicblender-java

0.0 0.0 0.0 201 KB

🎵 Spring Java - The Music Social Network API is a RESTful API that provides endpoints for creating, reading, updating, and deleting user profiles, songs, albums, playlists, and comments in a music-based social network. The API can be easily tested using Postman or any other HTTP client that supports sending JSON requests. The API accepts JSON

Java 99.47% HTML 0.53%

api-musicblender-java's Introduction

TuneBlendr Project API

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.

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.

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.

Diagram ( v1.0 )

alt text Não está pronto ainda

Running the API

To run the API, you will need Java 8 or higher installed on your machine. Once Java is installed, follow these steps:

Clone the repository to your local machine.
Open the project in your preferred IDE.
Build the project using the provided build script.
Run the project using the provided run script.
The API will be accessible at http://localhost:8080/

Endpoints

App Routes

  • GET/app/feed
  • POST/app/like/{id}
  • POST/app/comment/{id}
  • POST/app/createComment/{id}
  • GET/app/getComments/{MusicId}

Log

  • GET/log/all

Music Routes

  • POST/music/create/{userId}
  • DELETE/music/delete/{id}
  • GET/music/findMusicBy/{id}
  • POST/music/update/{id}

UserCredentials Routes

  • POST/user/create
  • GET/user/findUser
  • DELETE/user/delete
  • POST/user/update

UserInfo Routes

  • POST/user/createInfo/{userId}

Music MarketPlace

  • POST/product/create/{userid}
  • GET/product/MarketFeed
  • DELETE/product/delete/{id}

Auth Routes

  • GET/auth/login
  • POST/auth/register

Forum Routes

  • POST/forum/create/{userId}
  • POST/message/{forumId}/{userId}
  • GET/forum/showMessages

Testing the API

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.

Conclusion

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.

api-musicblender-java's People

Contributors

medeirosdev avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.