Door lock/access control over LAN

Hey all. Trying to come up with what I need to get my next project going. I'm wanting to install some access control through the attic to certain doors in my office. Likely magnetic locks with a status (green/red) indicator above the door. I want to either control the doors from my phone via an app, or via a desktop console, or both. Remote access isn't a priority currently.

I don't anticipate it being complicated. Simply push a button to unlock, push it again to lock.

I think to get going I'll need:

1x uno or mega per door
1x ethernet shield per door
1x relay per door
1x magnetic lock per door
1x LEDs, transistors, etc.

This is my first time experimenting with ethernet. I've read a couple guides and watched a few tutorials online, but I'm not sure if it's just a matter of hard-coding the IP addresses into the software (or sketch running on the controller inside the desktop console) or if I need to configure some sort of server that will be the "middle man".

Any tips or suggestions?

Thisisliam:
I don't anticipate it being complicated. Simply push a button to unlock, push it again to lock.

Here you are: Arduino - Button Controls Electromagnetic Lock

.