how to create an app like uber, pokemon go or any run time location based game

can someone tell me how to create an app like uber, pokemon go or any run time location based game.
things i need to know are simple
requirements:

  1. i want to make a online location based game where we are updated with the information which are near our location every time(like any pokemon is placed in an area and it appears to us if we are near it).

  2. how should be the server created or what are the requirements for it, specially should i use a google cloud platform or amazon web server or any other server.

  3. do i need to create any web page for this multiplayer game for connecting player or does this connections happen with the scripting in the app.

  4. how should be the database of the server. how should i store the location values in the server to show any user that there is a pokemon. should i have any local server to serve the person near that location or only 1 single server to connect millions of people and return them the locations of the pokemons

  5. clearly explain me how the database should be made, something similar to snapchat. so the location of pokemon in the database is erased in the database and a new location is kept after some time.

  6. how should i have connection with friends, like having a group of friends and showing each other how many pokemons they caught. like a facebook connection between them.

please help me with these and ask me anything u didnt understand

The questions you’ve asked are so insanely broad, they aren’t really practical to answer here. These are highly complex design questions that would be unique to your game’s gameplay.

To get you started, here’s some info on accessing location services on your clients

For networking you need to first get a grasp on what your server(s) are actually going to be serving before deciding how you should implement them, and what hosting services to potentially use. There’s lots of different networking solutions for Unity, here’s the manual for the one built into the editor:

Unity doesn’t have a built in server side database solution. You’re going to have to figure out your game’s database requirements, which it doesn’t seem like you have yet, before you could come to a conclusion as which way you would go. If you’re completely unfamiliar with how databases work, I’d suggest installing MySQL on your development machine and researching how to connect to it and use it from Unity. After you get a grasp on basics like that you’ll be in a better position to ask specific questions people can actually answer in that area.

Good luck