Skip to content

This is a simple web app which uses an API to get data from a database, this was created using php to understand what reaally API is and how does it work

Notifications You must be signed in to change notification settings

khaled1000emad/Implementing-API-using-PHP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Implementing-API-using-PHP

This is a simple web app which uses an API to get data from a database, this was created using php to understand what reaally API is and how does it work, I also used fetch API in order to display results in the web app

The Webapp

image

Here you can get all the posts from the database, or you can get single post with post ID , you can delete a post by it's name and finally can create a post It is not the best front-end code, but this is beacause i only wanted to create an api .

API Documentation

  1. Getting All The Records (posts) :

image

  1. Getting Single Record :

image

  1. Creating Record :

image

  1. Deleting Record :

image

About

This is a simple web app which uses an API to get data from a database, this was created using php to understand what reaally API is and how does it work

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published