0
0
mirror of https://github.com/sp-tarkov/db-website.git synced 2025-02-08 07:50:46 -05:00
db-website/api/README.md
2023-03-02 20:51:47 -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