This repository contains the backend for the Music Player application built with FastAPI.
129
This repository contains the backend for the Music Player application built with FastAPI. The backend handles audio file uploads, retrieves audio records, and integrates with Cloudinary for file storage. It also uses asynchronous operations with PostgreSQL and includes CORS middleware for security.
/uploadPOSTtrack_name: Name of the track (string, required)author_name: Name of the author (string, required)file: Audio file (MP3, required)id: ID of the audio recordurl: URL of the uploaded audio file on Cloudinarytrack_name: Name of the trackauthor_name: Name of the author/tracksGETid, url, track_name, and author_name.This backend service is integrated with the front-end project, which is deployed at Music Player UI and its repository is available here.
To set up and run the container, use the following commands:
docker build -t music-player-backend .
docker run -d -p 8000:8000 music-player-backend
Content type
Image
Digest
sha256:0ff5108ec…
Size
72.4 MB
Last updated
almost 2 years ago
docker pull user620/music-player-backend:v3.0.0