spt-items-api/README.md

14 lines
652 B
Markdown
Raw Permalink Normal View History

2021-10-08 20:53:16 +09:00
# SP Tarkov items API
2021-10-08 20:44:34 +09:00
2021-10-08 20:53:16 +09:00
## How to install
2021-10-08 20:44:34 +09:00
2021-10-16 21:38:00 +09:00
* Clone the repo
* Make sure you have PHP and composer installed on your PC
2021-10-08 20:53:16 +09:00
* To verify that you have PHP and composer working, try these commands `php -v` and `composer -v`
* Go inside the cloned repo and install the dependencies with this command `composer install`
2021-10-16 21:38:00 +09:00
* If you don't have a local server like Apache or Nginx, you can use PHP to start a server with this command in the root folder of the repo `php -S localhost:8000 -t public`
2021-10-08 20:44:34 +09:00
2021-10-08 20:53:16 +09:00
## How to use
2021-10-08 20:44:34 +09:00
2021-10-16 21:38:00 +09:00
* Check the `routes/web.php` for the available routes and use whatever utility you are confortable with to call the API endpoints, ex: Postman