Skip to content

This is a very simple and basic REST api for an online testing. This provides basic authentication and REST api's for CRUD operations items. The API is written in PHP with MySQL as the datastore.

Notifications You must be signed in to change notification settings

sobuz80/rest-api-with-php-and-mysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rest-api-with-php-and-mysql

Representational state transfer (REST) or RESTful web services are a way of providing interoperability between computer systems on the Internet. REST-compliant Web services allow requesting systems to access and manipulate textual representations of Web resources using a uniform and predefined set of stateless

STEPS FOR SETTING IT UP

Server I used apache while development. But this should work on any server with supports .htaccess file configuration, since I use it for routing.

Database The code assumes MySQL as server.

I have written scripts to automate the database setup.

Change the credentials in restapi/api.php file. Once that is done, execute restapi/db.php file.

https://github.com/sobuz80/rest-api-with-php-and-mysql/blob/master/CRUD-Operations-What-is-REST-API-Edureka-1.png

About

This is a very simple and basic REST api for an online testing. This provides basic authentication and REST api's for CRUD operations items. The API is written in PHP with MySQL as the datastore.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published