An open API service indexing awesome lists of open source software.

https://github.com/stereoflo/go-inventory-app


https://github.com/stereoflo/go-inventory-app

Last synced: 20 days ago
JSON representation

Awesome Lists containing this project

README

          

# Run the app

```shell
cp .env.dist .env && docker-compose up --build
```

### Available routes
`GET /locations`

creates a new location

`POST /locations`

`GET /locations/:location_id`

`GET /locations/:location_id/devices`

`GET /locations/:location_id/outlets`

creates a new device

`POST /devices`

`GET /devices/:device_id`

Creates a network outlet to which the device is connected

`POST /outlets`