GithubHelp home page GithubHelp logo

codingforentrepreneurs / rest-api Goto Github PK

View Code? Open in Web Editor NEW
264.0 20.0 146.0 139 KB

Learn how to build your own REST API with Python, Django, and the Django Rest Framework.

Home Page: https://www.codingforentrepreneurs.com/courses/rest-api/

License: MIT License

Python 100.00%
python django django-rest-framework djangorestframework djangorestframework-jwt rest-api api

rest-api's Introduction

REST-API

Rest API Course Logo

Build a REST API by leveraging Django, Python and the Django Rest Framework.

REST APIs are here to connect your web application to anything and everything. Build microservices, connect to client-side technologies like Angular & Ionic, and connect to other apps too.

This course will teach you exactly how to build one with Django, Python, Django Rest Framework, and more.

Full Course is here: http://joincfe.com/courses/rest-api

Section 1 | API Basics

Conceptual section, no related code

Section 2 | Pure Django API

1 - Requirements: no code

2 - Blank Django Project

3 - The Updates App and Model

3 - The Updates App and Model

4 - A JSON Response

5 - HttpResponse with Json Data

6 - JSON CBV

7 - Serialize Data

8 - Managers & Methods to Produce Serialized Data

9 - The Dot Values Method

10 - Pratical API Module

11 - Pratical API Module Part 2

12 - Use the API with Python Requests

13 - Handling Errors

14 - Http Status Codes

15 - Validating Data with a Model Form

16 - Update & Delete

17 - Validate JSON

18 - Update & Delete Part 2

19 - One Endpoint to Rule the Model

Section 3 | Django Rest Framework

1 - Introduction: no code

2 - Install Django Rest Framework

3 - Status Model & App

4 - Model Form for Validation

5 - Creating a Serailizer

6 - Create & Update through Serializers

7 - Validation & Fields

8 - API Endpoints Overview

9 - List & Search API View

10 - Create API View

11 - Detail API View

12 - Update & Delete API Views

13 - Mixins to Power Http Methods

14 - One API Endpoint for CRUDL

15 - One API Endpoint for CRUDL Part 2

16 - Uploading & Handling Images

17 - 2 Views for CRUDL

18 - Authentication & Permissions

19 - Global Settings for Authentication & Permissions

20 - Permission Tests with Python Requests

21 - Implement JWT Authentication

22 - JWT Authorization Header

23 - Custom JWT Response Payload Handler

24 - Custom Authentication View

25 - Register API View

26 - User Register Serializer

27 - Serializer Method Field

28 - Get Context Data

29 - Custom Permissions

30 - Is Owner or Read Only Permission

31 - Nested Serializer Part 1

33 - Nested Serializer Part 2 & 3

34 - Pagination to Manage Request Load

35 - Search Filter & Ordering

36 - Reverse URLs with DRF

37 - Serializer related fields

38 - Automated Testing

39 - Testing User API

41 - Testing with a Temporary Image

42 - Final wrap-up: no code

rest-api's People

Contributors

codingforentrepreneurs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.