---
# System prepended metadata

title: Plan

---

# Plan
##  Backend
I'll be developing a nodejs express server to develop backend.
I'll query latest blockchain block from API every 5 seconds. Therefore the server will be stateful.
It'll get all data following 1..3 step.
To resolve domain names to ip address, I plan to use [dns.loopup](https://nodejs.org/api/dns.html#dns_dns_lookup_hostname_options_callback)
For dns_srv I'll figure a way out.

The nodejs server will push the location(lat,lon) of the IP to frontend with socket.io [This can be tricky]. You may want clients request it periodically.

## Frontend
I'll implement a single page application with react using react, react context for data management.
I'd probably choose giojs.

# Estimation
Backend'll take 5 days as I can only work 2 hours a day.
Frontend'll take 4 days.

Best
