Posted in Codeigniter

CodeIgniter 4 REST API JWT Authentication

Table of Contents Introduction Prerequisites Project Directory MySQL Table Database Configuration Route Configuration Model Controller Library Testing CodeIgniter 4 REST JWT Source Code Introduction In this example I will show you how to use JWT (JSON Web Token) in CodeIgniter 4 REST API for authenticating/authorizing a user when he/she is trying to access REST API. A user must register in…

Continue Reading... CodeIgniter 4 REST API JWT Authentication
Posted in Codeigniter REST

CodeIgniter 4 Consume External REST APIs

CodeIgniter 4 REST API Client In this tutorial I will show you how to call or consume external REST APIs in CodeIgniter 4 framework. REST is an acronym that stands for Representational State Transfer. I had shown how to build REST API CRUD Example earlier but here I am going to show an example on CodeIgniter 4 consume REST APIs….

Continue Reading... CodeIgniter 4 Consume External REST APIs
Posted in Angular Codeigniter

CodeIgniter 4 REST API, MySQL and Angular 10 CRUD Example

I am going to show you an example on Angular CodeIgniter 4 REST API MySQL CRUD. CRUD is an acronym and stands for Create, Read, Update and Delete operations. REST or RESTful is a Representational State Transfer which defines an architectural style in software engineering. The REST API works on HTTP or HTTPS protocol. The Angular framework will be used…

Continue Reading... CodeIgniter 4 REST API, MySQL and Angular 10 CRUD Example
Posted in Codeigniter

REST API CRUD Example in CodeIgniter 4 Framework

Here I am going to show you how to build REST web services in PHP based Codeigniter 4 framework. CodeIgniter 4 is the upcoming version of the framework and it is still under development, intended for use with PHP 7.2 or higher version. REST is an acronym that stands for Representational State Transfer (RESTful), which is an architectural style for…

Continue Reading... REST API CRUD Example in CodeIgniter 4 Framework
Posted in Angular Codeigniter File Upload

Angular + CodeIgniter File Upload Example

Introduction Angular + CodeIgniter file upload example will show here how to upload a file to server. Here CodeIgniter will be responsible for storing the file into a server location and Angular will be used on UI side to interact with end users, who will browse and select a file for uploading. We will create CodeIgniter REST API and will…

Continue Reading... Angular + CodeIgniter File Upload Example
Posted in Codeigniter React JS

Codeigniter REST + ReactJS CRUD Example

Introduction Here we will see Codeigniter REST + ReactJS CRUD example. We have seen previously Codeigniter REST API examples for GET, POST, PUT and DELETE but here we will see them together. We will use ReactJS as a front-end technology to represent our UI. In this example we will use Codeigniter version 3.1.9 and node version 6.11.3 and npm version 3.10.10. We…

Continue Reading... Codeigniter REST + ReactJS CRUD Example
Posted in Angular Codeigniter REST

AngularJS Codeigniter REST CRUD Example

In this Codeigniter AngularJS CRUD example, we will see the integration of AngularJS with Codeigniter REST. We are going to create CRUD application using Codeigniter REST API on server side and AngularJS is encapsulated within PHP file on client side. Thus the client will communicate with server asynchronously using AngularJS $http service. Please read the following tutorials before reading this…

Continue Reading... AngularJS Codeigniter REST CRUD Example
Posted in Codeigniter REST

Working With RESTful Services in Codeigniter 3 – DELETE Example

Introduction In this tutorial I am going to show you how you can work with RESTful or REST webservice in Codeigniter framework. I am going to use HTTP method DELETE to delete resource from server side. Related Posts: Working with RESTful services in Codeigniter – GET example Working with RESTful services in Codeigniter – POST example Working with RESTful services…

Continue Reading... Working With RESTful Services in Codeigniter 3 – DELETE Example
Posted in Codeigniter REST

Working With RESTful Services in Codeigniter 3 – PUT Example

Introduction In the tutorial, working with restful services in codeigniter – put example, I am going to show you how you can work with RESTful or REST webservice in Codeigniter framework. The HTTP PUT method is used to update the existing record in server side. Related Posts: Working with RESTful services in Codeigniter – POST example Codeigniter GET example with…

Continue Reading... Working With RESTful Services in Codeigniter 3 – PUT Example
Posted in Codeigniter REST

Working With RESTful Services In Codeigniter 3 – POST Example

Introduction In this tutorial I am going to show you how you can work with RESTful or REST webservice in Codeigniter framework. I will build a REST API for HTTP POST method. The HTTP POST method is used to create a new resource in server side. Related Posts: Working with RESTful services in Codeigniter – PUT example Codeigniter GET example…

Continue Reading... Working With RESTful Services In Codeigniter 3 – POST Example