second-state / microservice-rust-mysql

A template project for building a database-driven microservice in Rust and run it in the WasmEdge sandbox.
Apache License 2.0
345 stars 53 forks source link

Add a simple UI #4

Closed mikesir87 closed 1 year ago

mikesir87 commented 1 year ago

I created a very basic web interface using plain HTML/JS. Started going down the React route, but felt like overkill. But, happy to revisit that if others want it. Feedback welcome!

juntao commented 1 year ago

This is great!

I am thinking ... perhaps we can just open the HTML page in the browser w/o even needing a Ngnix server? 😅

mikesir87 commented 1 year ago

It was one thought I had, but it is quite often best practice to split frontend from backend. If we combine it, it does get a little more complicated if we ever decide to make the frontend a React app or anything else that requires more setup/config.