2017 © Pedro Peláez
 

project rest-client-demo

image

damijanc/rest-client-demo

  • Friday, January 6, 2017
  • by damijanc
  • Repository
  • 1 Watchers
  • 1 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Travis status, (*1)

simple-rest

Example rest service using Symfony 3, Doctrine and MariaDB, (*2)

Installation:

  • Run in project root composer install
  • Setup database mysql -u root < ./Model/generation.sql

How to run

  • You can run the server with builtin php server just by running php bin/console server:run

Tests

To run tests run ./vendor/bin/phpunit in project root, (*3)

Mock api runner

  • In order to run mock api that you can use to test your you need to have nodejs installed. Then run npm install npm run-script run

Your mock api will be accessible on http://127.0.0.1:3030/api/ Check RAML for details., (*4)

The Versions