elliot-wilson / WideWorld

A full-stack clone of Atlas Obscura using React / Redux, Ruby on Rails, PostgreSQL.
https://wide-world.herokuapp.com/#/
1 stars 0 forks source link

# Database Schema: #3

Open Evan-Leon opened 2 years ago

Evan-Leon commented 2 years ago
Evan-Leon commented 2 years ago
elliot-wilson commented 2 years ago

I've added the lat/lng fields to location and started indexing on location title.

One thing I'll be looking up over the weekend: Is it possible to use the Google Maps API to autofill the lat/lng based on the address? Ideally users won't actually have to look up the coordinates of a location; the app will take its best guess (and allow people to override if they want).

Evan-Leon commented 2 years ago

Schema looks good now!

Not sure about your question in regards to google maps api, i'm guessing that must be a type of functionality, I will try to take a look at that, also let me know what you find!