All Projects → seregazhuk → reactphp-restful-api

seregazhuk / reactphp-restful-api

Licence: other
No description, website, or topics provided.

Programming Languages

PHP
23972 projects - #3 most used programming language

Code examples for Building RESTful API With ReactPHP Book.

This repo contains the final code of the project that we build through the book.

Quick start

  1. Run docker-compose:
docker-compose up
  1. Install Composer dependencies:
docker-compose exec php composer install
  1. Execute migrations:
docker-compose exec php ./vendor/bin/doctrine-migrations migrate
  1. Use requests.http to send requests.

For requests that require authentication you need to register a new user first.

  1. Send POST http://localhost:8000/auth/signup to create a new user.
  2. Then sendPOST http://localhost:8000/auth/signin to log in with this new user.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].