Website/items-old/api/README.md
Mangiang 16b4cce118
Some checks failed
continuous-integration/drone/push Build is failing
feat: Create new db app
2021-12-17 01:02:12 -05:00

14 lines
652 B
Markdown

# SP Tarkov items API
## How to install
* Clone the repo
* Make sure you have PHP and composer installed on your PC
* 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`
* 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`
## How to use
* Check the `routes/web.php` for the available routes and use whatever utility you are confortable with to call the API endpoints, ex: Postman