Skip to content

psrc/safety-incidents-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Setup

The api runs against a sqlite database that must first be created locally from data in Elmer: From the root folder of this repo, run python .\utilities\export_to_sqlite.py

Start the API

To run the api (from the ./main folder), execute the following command at the terminal:

uvicorn incident_api:app --host "0.0.0.0" --port 8000 --reload

This will host the api at localhost:8000

About

API for WSDOT incident data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages