Skip to content

This is a simple API for a music service that i developed for my tutorial on DRF

Notifications You must be signed in to change notification settings

savin-berlin/drf_tutorial

 
 

Repository files navigation

Music Service API

About

This is a simple music service API that I created as an example for a tutorial for learning Django REST Framework.

Goal

The goal of this project is teach Django REST framework on novice programmers.

Features

With this API;

  • You can create, view, update, and delete a song

Technology stack

Tools used during the development of this API are;

Requirements

  • Use Python 3.x.x+
  • Use Django 2.x.x+

Tests

"Code without tests is broken as designed", said Jacob Kaplan-Moss. Therefore i shall not give you code that can not be tested or has no tests. So, to run tests, enter the following command

    $ python manage.py test

Running the application

To run this application, clone the repository on your local machine and execute the following command.

    $ cd music_service
    $ virtualenv virtenv
    $ source virtenv/bin/activate
    $ pip install -r requirements.txt
    $ python manage.py makemigrations
    $ python manage.py migrate
    $ nohup python manage.py runserver & disown

About

This is a simple API for a music service that i developed for my tutorial on DRF

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 47.0%
  • CSS 43.0%
  • Python 9.7%
  • Dockerfile 0.3%