Tourists and travelers find themselves in potentially dangerous situations due to a lack of information. It's a scenario we've all heard of, and it's one we're dedicated to changing. Specifically the 2015 Waze app case in Brazil, where a group of tourists ended up in a favela being tragically killed.
Finch provides the ability to report a dangerous situation on a map, so other users can avoid the area when trying to get somewhere.
We used Go's standard library to serve HTML templates over an HTTP server and the Google Maps API. We also used PostgreSQL as our database (running with docker) and TailwindCSS for our styling.
Merge issues lost us time and we couldn't deploy our service on time. We still hope to finish our project after the event.
Providing a correctly calculated route avoiding a dangerous area.
We learned Go and TailwindCSS for easy server side rendering.
Finishing the training of our machine learning model to learn over time which areas are dangerous in what times.
- Install dependencies
- Go
- modd
- goose
- docker and docker compose
- Makefile
- Copy example env
cp .env.example .env
- Add database env variable to source shell file
export FINCH_DB_DSN='host=localhost user=finch password=finch dbname=finch sslmode=disable'
- Start program
make dev
- View application on localhost:4000