Skip to content

ShouraySolanki/Django-server-simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is implementation of a simple audio file server simulator using Django Rest Framework

With Implemented create, read, upload, and delete(CRUD) endpoints for an audio file as defined below:

  1. Create API: The request will have the following fields: - audioFileType – mandatory, one of the 3 audio types possible - audioFileMetadata – mandatory, dictionary, contains the metadata for one of the three audio files (song, podcast, audiobook)

    else:- you can directly use the link for audio file type and post the data for same.

  2. Delete API: The route will be in the following format: “/”

  3. Update API: The route be in the following format: “/” - The request body will be the same as the upload

  4. Get API: The route “/” will return the specific audio file - The route “” will return all the audio files of that type.

Install requirements using python -m pip install -r requirements.txt

Below is image of how the output should look like:

![image](https://user-images.githubusercontent.com/33387922/118868147-78ef8100-b901-11eb-82ba-917462c7372c.png)

image image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages