https://github.com/stereoflo/php-inventory-app
https://github.com/stereoflo/php-inventory-app
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/stereoflo/php-inventory-app
- Owner: StereoFlo
- Created: 2023-02-17T18:17:54.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-10-12T10:00:44.000Z (over 2 years ago)
- Last Synced: 2025-01-08T05:34:47.590Z (over 1 year ago)
- Language: PHP
- Size: 147 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# About
This is a port of the Go app. You can find the original version [here](https://github.com/StereoFlo/go-inventory-app).
# Run the app (WIP)
```shell
docker-compose up --build
```
### Available routes
`GET /devices/:device_id`
`GET /locations`
create a device
`POST /devices`
# Utils
### php-cs-fixer
```shell
php vendor/bin/php-cs-fixer fix --diff src --config=.php-cs-fixer.dist.php
```
### phpstan
```shell
php vendor/bin/phpstan analyse src --level=max
```
### phpunit
```shell
php bin/phpunit
```