Question: how to play minecraft with friends without realms?
Answer: Simply open your game to LAN and wait for other players in your house/local library/etc. to join. Servers are a bit less common on PE but people still play on them. You can join one by visiting the multiplayer tab and adding the server's address.