Skip to content

API REST WITH FRAMEWORK DJANGO ON PYTHON VERSION 3.X

Notifications You must be signed in to change notification settings

JoseVale99/API-REST-DJANGO

Repository files navigation

API REST WITH DJANGO

INSTALL

pipenv install django
pipenv install djangorestframework
pipenv install django-cors-headers
pipenv install psycopg2

DEPENDENCIES

$ npm install -g @angular/cli
AFTER
$ ng version  
CREATE NEW PROJECT IN ANGULAR JS
$ ng new nameAppProject
AND
$ npm update

SETTINGS IN DATABASE

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.postgresql',
        'NAME': 'YOUR NAME DB',
        'USER': 'YOUR USERNAME',
        'PASSWORD': 'YOUR PASSWORD',
        'HOST': 'YOUR HOST/ localhost',
        'PORT': '5432'
    }
}

Screenshot

Releases

No releases published

Packages

No packages published

Languages