Email us on
info@yodaacademy.com
Call Us Now
+1 (800) 260-1678

REST API Tutorial

In this class, you should be able to create a RESTful API using PHP. The example we run through is a to-do list API, however, using the knowledge learned from this class it would be great to see what APIs you develop

Beginner 0(0 Ratings) 6 Students enrolled
Last updated Wed, 31-Aug-2022 English
What you will learn.?
  • Connect web or mobile applications to databases and servers via REST APIs
  • Develop professional-grade REST APIs with expert instruction
  • Understand the different layers of a web server and how web applications interact with each other
  • Handle log-outs and prevent abuse in your REST APIs with JWT blacklisting
  • Handle seamless user authentication with advanced features like token refresh
  • Create secure and reliable REST APIs which include authentication, logging, caching, and more

Curriculum for this course
40 Lessons 14:55:44 Hours
REST API Tutorial
40 Lessons 14:55:44 Hours
  • Course Contents and Project Scenario 00:02:47
  • What is REST 00:08:19
  • Software Set up 00:06:10
  • Task API Requirements 00:03:34
  • Authentication API Requirements 00:02:24
  • Demo of Completed API 00:24:14
  • Tasks Database and Task Table 00:12:33
  • Set Up API Folder Structure 00:04:36
  • Create the Response Model 00:38:59
  • Set Up The Database Connection 00:22:53
  • Create The Task Model 00:32:56
  • GET - Get a Single Task 00:44:41
  • DELETE - Delete a Single Task 00:09:28
  • GET - Get All Complete and Incomplete Tasks.ts 00:22:23
  • GET - Get All Tasks 00:17:47
  • GET - Get All Tasks With Pagination 00:37:03
  • POST - Create a Task 00:49:20
  • PATCH - Update a Task 00:55:23
  • Mid Course Review - What we have done so far 00:01:19
  • Introduction to Token Based Authen 00:11:23
  • Users Table Creation 00:05:35
  • POST - Create a User (Sign up us) 00:43:01
  • Sessions Table Creation 00:05:35
  • POST - Create a Session (Log user in API) 01:22:24
  • DELETE - Delete a Session (Log user out API) 00:25:26
  • PATCH - Refresh a Session 00:51:21
  • Update Tasks Table - Add User Assignment 00:04:07
  • Integrate User Add Authentication to our Tasks API 00:47:17
  • Course Conclusion and Demo 00:10:57
  • BONUS Section 01 - What is CORSS-ORIGIN RESOURCE SHARING (CORS) SETUP 00:16:41
  • BONUS Section 02 - Adding Image 00:10:42
  • BONUS Section 02 - Demo of Image 00:15:53
  • BONUS Section 02 - Implement Folder Structure To Store The File Uploads.ts 00:05:17
  • Task Image Database Table Creation 00:05:23
  • Implement The Image Model 00:34:31
  • Implement The Image Route Logic 00:38:28
  • Implement Folder Structure 00:05:57
  • Implement GET - get actual image 00:16:00
  • PATCH - Implement The Update Image Attributes Route 00:43:17
  • DELETE - Implement the IMAGE delecation Route 00:19:40
Requirements
+ View more
Description

 RESTful API is an architectural style for an application program interface (API) that uses HTTP requests to access and use data. That data can be used to GET, PUT, POST and DELETE data types, which refers to the reading, updating, creating and deleting of operations concerning resources. 


SOME EXAMPLES OF PROJECTS YOU COULD ATTEMPT:

Telephone directory - allow a user to add/delete/edit and view contact details


 Password manager - allows a user to add/delete/edit and view saved passwords

Note manager - allow a user to add/delete/edit and view notes

Once you have created your API then it would be good if you can host it so it can be accessed by anyone (e.g. host it on a public web host), although generally there is a cost to this so if you cannot host it then if you can just let me know what you have created and if you have any plans for it in the future.

+ View more
Other related courses
About the instructor
  • 0 Reviews
  • 7 Students
  • 12 Courses
+ View more
Student feedback
0
Average rating
  • 0%
  • 0%
  • 0%
  • 0%
  • 0%
Reviews
Free
Includes:
  • 14:55:44 Hours On demand videos
  • 40 Lessons
  • Full lifetime access
  • Access on mobile and tv