mohammedSlimani / issho

Final Academic project: Bring people together, Meetup alike app.
7 stars 0 forks source link

Location is not a string! it is an object #15

Closed mohammedSlimani closed 4 years ago

mohammedSlimani commented 4 years ago

@mouhcineToumi I have noticed that you are using the location as a string. But that is not the case. The lcoation is usually and practically saved in the db as an object like this

location : {
   type:"point",
   coordinates : [long, lat]
}
mouhcineToumi commented 4 years ago

yes I just wanted smth to work with fast, so like once we get the dataFlow all set up, then we can easily modify after, I suggest you take a look at the UI and serve it on ur computer