RTS game multiplayer

I am working on a small RTS game for personal practice and have decided I would like for the different factions in the game to be controlled by different players rather than by an AI. I have never networked anything before so I may be in over my head, but I would like some input on whether this is possible / where to begin. I have read a lot of linked resources but am a bit lost as to actual implementation.

Currently my game runs on the screen and accepts keyboard and mouse inputs from the user. I want 2 players on different machines to see the same screen and the game to differentiate between which player is clicking / entering commands, and send the commands to that faction. I can link the git to my game if that will help.

You need:

  1. Authoritative multi-player server
  2. Integrate your game with the server
    a. Lobby
    b. Chat
    c. Login
    d. Create Game
    e. Leave Game
  3. Test
  4. Deploy/Publish