REST API

REST API

Test Driven Development of a Django RESTful API - Real Python

See https://GitHub.com/Gizmotronn/django-start/issues/3 to see the log, we're starting THIS log from the moment of installing postgres[ql] for the database and model setup.

pip install django==1.11.0

Links:

Repl.it:

https://repl.it/@IrisDroidology/crud-api-django

https://repl.it/@IrisDroidology/Django-Template#README.md

Github:

acord-robotics/crud-api-django

The file structure currently looks like

# Root - the Django PROJECT
venv /
puppies / # Django app
__init__.py
asgi.py
...

Postgres temp password: Gizmotronn1 @ port:5432 , username = empty when starting psql

Basecamp Log In

cd crud-api-django
pip install virtualenvwrapper-win
pip install psycopg2==2.7.1
Server [localhost]:
Database [postgres]:
Port [5432]:
Username [postgres]:
Password for user postgres:
psql (13.1)
WARNING: Console code page (850) differs from Windows code page (1252)
         8-bit characters might not work correctly. See psql reference
         page "Notes for Windows users" for details.
Type "help" for help.

postgres=# CREATE DATABASE puppy_store_drf;
CREATE DATABASE
postgres=#