- Notifications
You must be signed in to change notification settings - Fork120
This is a basic guide on how to build a REST API with Django & Python. For much deeper depth, check out our new course on REST API: (https://kirr.co/90kxtx)
License
NotificationsYou must be signed in to change notification settings
codingforentrepreneurs/REST-API-Basics
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a basic, and rapid fire, guide on how to build a REST API with Django & Python. For much deeper depth and understanding, check out our new course onREST API.
- Django 1.11.8 (https://kirr.co/hjogvt)
- Python 3.6.3 (https://kirr.co/ftq97z)
- Django Rest Framework 3.7.3 (https://kirr.co/svez0s)
- Django Rest Framework JWT 1.11.0 (https://kirr.co/vpibmo)
Related Source Code:https://kirr.co/9gqpkg
virtualenv -p python3 restapi-basics# activate it # mac: `source bin/activate`# windows: `.\Scripts\activate`pip install django==1.11.8 djangorestframework==3.7.3 djangorestframework-jwt==1.11.0mkdir src && cd srcdjango-admin startproject cfehome .django-admin startapp postings
INSTALLED_APPS = [ ... 'rest_framework', 'postings']REST_FRAMEWORK = { 'DEFAULT_PERMISSION_CLASSES': ( 'rest_framework.permissions.IsAuthenticated', ), 'DEFAULT_AUTHENTICATION_CLASSES': ( 'rest_framework_jwt.authentication.JSONWebTokenAuthentication', 'rest_framework.authentication.SessionAuthentication', 'rest_framework.authentication.BasicAuthentication', ),}
About
This is a basic guide on how to build a REST API with Django & Python. For much deeper depth, check out our new course on REST API: (https://kirr.co/90kxtx)
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.