ChadChapman / DjangoRestFramework

moving from monolithic Django to using a RESTful API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Django Rest Framework w/ Python3 & Conda:

A Walk-through

This is a personal project to learn about moving from a monolith Django project to using a RESTful API

Django Rest Framework is great and I really appreciate the project. However, the docs use virtualenv and Python 2.X and I try not to roll like that.

This project is an attempt to provide more of a direct map to get up and rolling with Django, DRF, Conda as a package manager and condaenv as a virtual environment.

My aim through documenting this process is to minimize others' time searching the web for the same info. I have done my best to include nearly every step. Some steps I did not deem worthy to include as they differ very little (if at all) from the DRF docs. Docs in this repo with the title *Verbose include additional comments about the process. Docs in this repo with the title *Supplement are meant to be a more direct guide on how to complete specific exercises. This repo is meant to SUPPLEMENT the DRF quickstart and tutorial docs. Please follow those at the same time. The DRF docs provide much more insight into design choices and best practices, I'm not including that info since it is already easy to find and done pretty well by people with more experience and more knowledge than me.

Goals:

This project/repo is to assist those looking to get up and running with DRF, Python3 and Conda with minimal fuss and hopefully avoid some of the time sinks I have encountered in the same process.

Display a clear path for creating a back-end Django application that serves info in a RESTful manner.

Requirements:

Conda (Python package manager, analogous to pip),

Python 3.6,

Django 1.11,

DjangoRestFramework 3.7,

Run on Ubuntu 16.04.

Credits:

DjangoRestFramework - www.django-rest-framework.org,

Django - www.djangoproject.com,

Conda https://conda.io/docs/

About

moving from monolithic Django to using a RESTful API


Languages

Language:Python 100.0%