Joshua Rowe

Joshua Rowe


Example application consume REST API laravel as backend

Combo Flutter & Laravel

Databay showcase gif Databay showcase gif Databay showcase gif

Example flutter application to consume REST API from laravel back-end

What’s in here ?

REST API Laravel

If you are interested in this REST API and want to customize it, you can follow this link. This application used REST API in that link.


What’s mean ? I make separated packages to make flutter application faster. Inside it include:

  • Template Login and Splash Screen
  • Reusable Widget
  • Function
  • Color Pallete
  • App Config
  • Sizes
  • and many more…

If you interested with this, you can follow this link

State management

State management in this application used Flutter Riverpod . If you familiar with Provider ,i think you might will like it because riverpod author is same and have improvement from provider. Because this package is new and still a little tutorial on this package , i think what i write in this application not yet best practice. If you have suggestion , feel free to discussion.


This application have some screen inside it :

Splash Login Register
Welcome Form Product Detail Product
  • Splash
  • Login
  • Register (Modal Bottom Sheet)
  • Welcome
  • Form Product (Modal Bottom Sheet)
  • Detail Product


Because this application have a goal how to consume REST API from laravel back-end, i include basic CRUD(Create,Read,Update,Delete) function :

  • Login (Login using email and password)
  • Register (Required name, email, password, password confirmation. Then if register success, user will get email based on email user entered)
  • Save user information to Shared Preferences
  • Update user image profile [From camera/gallery]
  • Add, Update [Only image / another field], delete product
  • Show detail product
  • Show dialog loading while request to server (It’s nice to prevent user to action while request to server)


Please file any issues, bugs or feature request as an issue on Github


Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Download Details:

Author: zgramming

Source Code:

#flutter #dart #mobile-apps #laravel

What is GEEK

Buddha Community

Example application consume REST API laravel as backend
Wilford  Pagac

Wilford Pagac


What is REST API? An Overview | Liquid Web

What is REST?

The REST acronym is defined as a “REpresentational State Transfer” and is designed to take advantage of existing HTTP protocols when used for Web APIs. It is very flexible in that it is not tied to resources or methods and has the ability to handle different calls and data formats. Because REST API is not constrained to an XML format like SOAP, it can return multiple other formats depending on what is needed. If a service adheres to this style, it is considered a “RESTful” application. REST allows components to access and manage functions within another application.

REST was initially defined in a dissertation by Roy Fielding’s twenty years ago. He proposed these standards as an alternative to SOAP (The Simple Object Access Protocol is a simple standard for accessing objects and exchanging structured messages within a distributed computing environment). REST (or RESTful) defines the general rules used to regulate the interactions between web apps utilizing the HTTP protocol for CRUD (create, retrieve, update, delete) operations.

What is an API?

An API (or Application Programming Interface) provides a method of interaction between two systems.

What is a RESTful API?

A RESTful API (or application program interface) uses HTTP requests to GET, PUT, POST, and DELETE data following the REST standards. This allows two pieces of software to communicate with each other. In essence, REST API is a set of remote calls using standard methods to return data in a specific format.

The systems that interact in this manner can be very different. Each app may use a unique programming language, operating system, database, etc. So, how do we create a system that can easily communicate and understand other apps?? This is where the Rest API is used as an interaction system.

When using a RESTful API, we should determine in advance what resources we want to expose to the outside world. Typically, the RESTful API service is implemented, keeping the following ideas in mind:

  • Format: There should be no restrictions on the data exchange format
  • Implementation: REST is based entirely on HTTP
  • Service Definition: Because REST is very flexible, API can be modified to ensure the application understands the request/response format.
  • The RESTful API focuses on resources and how efficiently you perform operations with it using HTTP.

The features of the REST API design style state:

  • Each entity must have a unique identifier.
  • Standard methods should be used to read and modify data.
  • It should provide support for different types of resources.
  • The interactions should be stateless.

For REST to fit this model, we must adhere to the following rules:

  • Client-Server Architecture: The interface is separate from the server-side data repository. This affords flexibility and the development of components independently of each other.
  • Detachment: The client connections are not stored on the server between requests.
  • Cacheability: It must be explicitly stated whether the client can store responses.
  • Multi-level: The API should work whether it interacts directly with a server or through an additional layer, like a load balancer.

#tutorials #api #application #application programming interface #crud #http #json #programming #protocols #representational state transfer #rest #rest api #rest api graphql #rest api json #rest api xml #restful #soap #xml #yaml

REST API In Laravel Example

Hello Friends,

Today I will give you information about REST API, REST API is an application program interface that uses HTTP requests to GET, PUT, POST and DELETE data.

In this tutorial I am going to perform CRUD operation using REST API and you can learn how to create REST API with authentication using passport in laravel 6/7 application. here we will get data from API.

REST API In Laravel Example

#rest api in laravel example #php #rest api #crud operation using rest api #rest api with passport #laravel rest api crud

An API-First Approach For Designing Restful APIs | Hacker Noon

I’ve been working with Restful APIs for some time now and one thing that I love to do is to talk about APIs.

So, today I will show you how to build an API using the API-First approach and Design First with OpenAPI Specification.

First thing first, if you don’t know what’s an API-First approach means, it would be nice you stop reading this and check the blog post that I wrote to the Farfetchs blog where I explain everything that you need to know to start an API using API-First.

Preparing the ground

Before you get your hands dirty, let’s prepare the ground and understand the use case that will be developed.


If you desire to reproduce the examples that will be shown here, you will need some of those items below.

  • NodeJS
  • OpenAPI Specification
  • Text Editor (I’ll use VSCode)
  • Command Line

Use Case

To keep easy to understand, let’s use the Todo List App, it is a very common concept beyond the software development community.

#api #rest-api #openai #api-first-development #api-design #apis #restful-apis #restful-api