Web UI for Mars-Sim #540
bevans2000
started this conversation in
Show and tell
Replies: 2 comments 4 replies
-
Can Gson automate the process ? I just came across this regarding Jackson. |
Beta Was this translation helpful? Give feedback.
2 replies
-
@mokun Right, I've been playing over the weekend and have a basic Proof of Concept. https://github.com/bevans2000/mars-sim-rest-pilot |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@mokun I've been playing with ReactJS since the New Year and turned my attention to thinking about a Mars-Sim web interface.
I've put together a little pilot to see how it could work. You can see it here http://mars-sim-pilot.s3-website.eu-west-2.amazonaws.com
It's hosted as a static web server running on AWS S3.
You can see the code in GitHub https://github.com/bevans2000/mars-sim-react-pilot. One key point is the data is loaded from JSON format which of course could be produced by a RestFUL server. It has a basic framework to understand how Units can be referenced with a shared Component of UnitLink. It uses Bootstrap so does adjust nicely to a mobile phone but theme colours is a bit random at the moment.
The challenges I see are:
Beta Was this translation helpful? Give feedback.
All reactions