Skip to content
/ phptest Public

Repository about a php test done in April 7.

Notifications You must be signed in to change notification settings

mthmf/phptest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

phptest

Repository about a php test done in April 7.

Starting

First step to test the manager task API, it's create a database called 'manager', after we needed to create a table with name 'task'.

CREATE TABLE IF NOT EXISTS tasks (
id int(11) NOT NULL AUTO_INCREMENT COMMENT 'Task ID',
name varchar(100) NOT NULL COMMENT 'Task Name',
PRIMARY KEY (id)
)

To test the API, was used the software Postman and for the development, XAMPP.

Here, it's some JSONs used on tests:

Delete

{"id":7}

Create

{"name":"Max"}

Update

{"id": 2, "name": "Andrew"}

Read

It's not necessary JSON for test because it only returns the tasks in the table.

About

Repository about a php test done in April 7.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages