Skip to content

the API for A Latin networking application. Goes with an ios/react app.

Notifications You must be signed in to change notification settings

angeldzzz23/Meusic_API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

backend

Installation

before attempting any of the commands. Make sure to create a database called musica.

    mysql> Create DATABASE musica

Make sure you are in the python virtual enviroment.

activate virtual environment

$ source env/bin/activate

Modify the settings.py to fit your localhost specs

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',
         'HOST': 'localhost',
        'PORT': '3306',
        'STORAGE_ENGINE': 'InnoDB',
        'USER': 'your username',
        'PASSWORD': 'your password',
        'NAME': 'musica',
        'OPTIONS': {
            'init_command': "SET sql_mode='STRICT_TRANS_TABLES'"
        }
    }
}

Run the following command to makemigrations

 python3 manage.py makemigration

To run Django project

  python3 manage.py runserver

[TODO]We dont have a requirements.txt yet, i'll make sure to add one.

pip install -r requirements.txt

EndPoints

https://docs.google.com/document/d/1-Lhuk_N4GfUZFXqtigT5030osPyzw5oE7R_ehfXe8o8/edit#

About

the API for A Latin networking application. Goes with an ios/react app.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages