Gateway code - categorize into Server and Client

Dear mozilla team,

Good day !

I am a research scholar from NTU, recently i came across mozilla iot gateway and it is really inspired me.

I would like to know the server and client code separately in your gateway source code, as it will be helpful to enhance my research for various purposes. I need info something like mentioned below

gateway —> server---->all server related code

gateway —> client–> all client related code like UI etc

https://github.com/mozilla-iot/gateway

GitHub - mozilla-iot/gateway: WebThings Gateway

WebThings Gateway by Mozilla. Web of Things gateway. If you have a Rasberry Pi, the easiest way to use the gateway is to download and flash a pre-built software image from Mozilla to an SD card. Otherwise you can build it from source yourself (see below).

could you please help me in this regard ?

For the most part, the server code is located in the src/ directory, while the UI code is in the static/ directory. The templates in src/views/ are also part of the UI.