Skip to content

pfk84/reactphp-restful-api

 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 98.9%
  • Other 1.1%