Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo Application

Requirements

  • PHP 8.2.0 or higher;
  • PDO-SQLite PHP extension enabled;
  • composer

Usage

$ cd demo-crud/
$ composer install
$ php bin/console doctrine:migrations:migrate
$ php -S localhost:8000 -t public/

Available endpoint

GET http://localhost:8000/users

GET http://localhost:8000/users/:id

POST http://localhost:8000/users

{
    "email": "test@test.com",
    "first_name": "first_name1",
    "last_name": "last_name",
    "phone": "phone"
}

PUT http://localhost:8000/users/:id

{
    "email": "test@test.com",
    "first_name": "first_name1",
    "last_name": "last_name",
    "phone": "phone"
}

DELETE http://localhost:8000/users/:id

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages