Skip to content

ZacCarrico/api-db-poc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

api-db-poc

Simple API and DB POC

Instructions

from the root dir
docker-compose up

API

if running locally, the default url is http://localhost:5000/

site

/site/<site name>
returns one json per instrument for the provided site name

instruments

/instrument/<instrument id>
returns a json of instrument information.
If the instrument is a computer the mac field is populated. If the instrument is a freezer the container fields are populated.

container

/container/<container uuid>

Seeding the db with data

Add any seed data to db/setup.sql. Example seed data is provided.

About

Simple API and DB POC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published