|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/django-django-rest-framework-build-rest-api-in-python/
课程评论:没有评论
课程名称:Django与Django REST框架的React前端 课程概述:欢迎学习《Django与Django REST框架的React前端》课程!本课程首先介绍Django,这是一个用于Web开发的Python框架。Django采用一系列设计原则,使其相较于其他Web框架在开发过程中具有更高的生产力。此外,Django提供了一组紧密集成的组件,这些组件均由Django团队自主开发。您可以将Django作为全栈Web框架使用,既可以构建前端和后端,也可以单独使用Django REST框架创建后端REST API,并与React、Vue或移动前端(如React Native)等前端框架集成。 RESTful API是指在Web服务中作为两个机器之间交流的翻译者。熟悉API的开发者会知道,RESTful API用于两台应用之间的通信,可以接收来自Web应用、Android/iOS应用等的数据,并返回可由多种设备解析的JSON文件。 Django REST框架是一个强大且灵活的工具集,用于构建Web API。使用REST框架的原因包括:具有可浏览的Web API,提升开发者的使用体验;支持OAuth1a和OAuth2的身份验证政策;支持ORM和非ORM数据源的序列化;高度可定制,甚至可以使用常规的基于函数的视图;以及丰富的文档和良好的社区支持。著名公司如Mozilla、Red Hat、Heroku和Eventbrite等也使用和信任该框架。 React是一个免费的开源前端JavaScript库,用于基于UI组件构建用户界面。它由Meta和一群独立开发者及公司维护,可以作为单页或移动应用开发的基础。 本课程分为几个部分:第一部分为课程介绍;第二部分将使用Django构建博客应用,重点关注Django的基本概念,并将我们的Django应用部署到Heroku;第三部分我们将使用Google DialogFlow构建一个聊天机器人,并将其与Django博客应用集成;第四部分将构建一个问答应用并部署到PythonAnyWhere;第五部分深入学习使用Django和Django REST框架构建后端REST API,重点关注Django REST框架的基本概念,并将其部署到Heroku;第六部分为问答应用创建后端REST API,并将其部署到PythonAnyWhere;第七部分将后端REST API与React前端集成。 通过本课程,您将掌握Django、Django REST框架及React的基本技能,能够独立开发全栈Web应用。
Welcome to Django & Django REST Framework with React Frontend , so first of all what is Django ? What is Django ? Django is a Python Web Framework that is used for web development. Django framework uses a set of design principles that produces one of the most productive web development processes compared to many other web frameworks. also Django provides a set of tightly integrated components. all of these components are developed by the Django team itself, you can use Django as a Full stack Web Framework, it means that you can build frontend an backend in Django, or you can just build your backend REST API using Django REST Framework and you can integrate that with any frontend frameworks and libraries like reactjs, vuejs or mobile frontend like react native.What is RESTFul API's ?A RESTful API acts as a translator between two machines communicating over a Web service. If your familiar with the concept of API This is just like an API but it's working on a RESTful Web service and the API is used by two applications trying to communicate with each other over a network or Internet. Web developers program REST API that server can receive data from applications. These applications can be web-apps, Android/iOS apps, etc. RESTful APIs return JSON files which can be interpreted by a variety of devices.What is Django REST Framework ?Django REST framework is a powerful and flexible toolkit for building Web APIs. Some reasons you might want to use REST framework: The Web browsable API is a huge usability win for your developers.Authentication policies including packages for OAuth1a and OAuth2.Serialization that supports both ORM and non-ORM data sources.Customizable all the way down - just use regular function-based views if you don't need the more powerful features.Extensive documentation, and great community support.Used and trusted by internationally recognized companies including Mozilla, Red Hat, Heroku, and Eventbrite.What is React ?React is a free and open-source front-end JavaScript library for building user interfaces based on UI components. It is maintained by Meta and a community of individual developers and companies. React can be used as a base in the development of single-page or mobile applicationsThis course is divided in to different parts, in the first part we are going to have introduction to the course, in the second part we are going to build a blog application using django, in this section we focus on fundamental concepts of django, also we deploy our django app to Heroku, in the third part we are going to build a Chatbot using Google DialogFlow and after that we integrate our Chatbot with Django Blog Application. in the fourth part we are going to build a question and answer app and we deploy our app to PythonAnyWhere. in the fifth part we are going to dive in to building backend REST API using Django and Django REST Framework, we focus on fundamental concepts of Django REST Framework, also we deploy our Django REST Framework to Heroku. in the sixth part we create our backend REST API for our question and answer app, also we deploy our DRF in the PythonAnyWhere, in the seventh part we are going to integrate our Backend REST API with React Frontend.