10 months ago

Recover the location of people.

Posted 10 months ago by Larasou

Hi !

I come back to you because I ask myself a very important question.

In fact I am creating a community platform, and I would like to retrieve the location of the members.

I would like to recover mainly, their country and city.

You think it would be better to create another table for me to have a "hasOne" relationship or to put everything in the "users" migration?

And to have a list of all the countries like on Laracasts, how do we do it? You have to create it by hand or there is a Laravel / Vue.js package that can do it?

I would also like to get the flag of the selected country as on Laracasts before, how can I do all this please?

NOTE: To create a profile I use directly Vue.js

Please sign in or create an account to participate in this conversation.