Browse Source

readme: Add to readme how to run the repl

master
Elis Hirwing 3 years ago
parent
commit
b18d7b3b09
Signed by: etu GPG Key ID: D57EFA625C9A925F
  1. 5
      README.org

5
README.org

@ -4,6 +4,11 @@
php -S localhost:8000 -t public/
#+end_src
** Run the repl
#+begin_src sh
php repl.php http://localhost:8000
#+end_src
** API docs
*** Request stock by item name
: curl http://localhost:8000/inventory/item-name

Loading…
Cancel
Save