/drf_tutorial

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

Primary LanguageJavaScript

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