Add backend #1

Merged
gabren merged 2 commits from backend into main 2026-11-06 10:25:07 +00:00
Collaborator

Container opens port 8000, endpoint at :8000(or whatever want to map to)/predict/severity/

POST request format:
curl -X POST "http://:/predict/severity/"
-H "Content-Type: application/json"
-d '{
"Start_Lat": float,
"Start_Lng": float,
"Temperature_F": float,
"Humidity_pct": float,
"Pressure_in": float,
"Visibility_mi": float,
"Wind_Speed_mph": float,
"Precipitation_in": float,
"State": string,
"Sunrise_Sunset": string,
"Amenity": boolean,
"Bump": boolean,
"Crossing": boolean,
"Give_Way": boolean,
"Junction": boolean,
"No_Exit": boolean,
"Railway": boolean,
"Roundabout": boolean,
"Station": boolean,
"Stop": boolean,
"Traffic_Calming": boolean,
"Traffic_Signal": boolean,
"Turning_Loop": boolean
}'

Container opens port 8000, endpoint at <ip>:8000(or whatever want to map to)/predict/severity/ POST request format: curl -X POST "http://<ip>:<port>/predict/severity/" \ -H "Content-Type: application/json" \ -d '{ "Start_Lat": float, "Start_Lng": float, "Temperature_F": float, "Humidity_pct": float, "Pressure_in": float, "Visibility_mi": float, "Wind_Speed_mph": float, "Precipitation_in": float, "State": string, "Sunrise_Sunset": string, "Amenity": boolean, "Bump": boolean, "Crossing": boolean, "Give_Way": boolean, "Junction": boolean, "No_Exit": boolean, "Railway": boolean, "Roundabout": boolean, "Station": boolean, "Stop": boolean, "Traffic_Calming": boolean, "Traffic_Signal": boolean, "Turning_Loop": boolean }'
gabren merged commit 592c299746 into main 2026-11-06 10:25:07 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
notlaurence/fall-datathon-2026!1
No description provided.