Skip to content

HheZi/SpringBootMusicApp

Repository files navigation

SpringBootMusicApp

SpringBootMusicApp is a music streaming application built with a Spring Boot backend and an Angular frontend. It provides users with the ability to browse, play, and manage their music library.

Features

  • User authentication and authorization
  • Music library management
  • Playlist creation and management
  • Music playback
  • Responsive frontend built with Angular

Screenshots

Some screenshots from app

Home page

Album page

Author page

Track creation page

Project Structure

  • Backend: Spring Boot application providing RESTful APIs for the frontend
  • Frontend: Angular application for the user interface

Installation

Prerequisites

  • Java 18 or higher
  • Node.js and npm
  • Docker (Optional)
  • Angular CLI

Docker

  • If you have installed docker on your PC, you can use the docker-compose file:
docker compose up

Backend

  1. Clone the repository:

    git clone https://github.com/HheZi/SpringBootMusicApp.git
    cd SpringBootMusicApp/Backend
  2. Build the project:

    ./gradlew clean build
  3. Create all databases in PostgresSQL

  4. Run Kafka in container (If you don't have docker, run Kafka installed localy on your machine)

    cd ./Backend/
    docker compose up
  5. Run the application:

    ./gradlew bootRun

Frontend

  1. Navigate to the Frontend directory:

    cd SpringBootMusicApp/Frontend
  2. Install dependencies:

    npm install
  3. Run the development server:

    ng serve
  4. Navigate to http://localhost:4200/home in your web browser.

How to add content

  • To add music/albums/authors you need login as Admin.
  • To do that use username Admin and password admin in login page.

Usage

  • Register or log in to your account
  • Create new authors, albums and music
  • Browse and search for music
  • Create and manage playlists
  • Add to favorites tracks
  • Play your favorite songs

Contributing

Contributions are welcome! Please fork the repository and submit a pull request.

About

Music website

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published