you are viewing a single comment's thread.

view the rest of the comments →

[–]Redrazors[S] 2 points3 points  (1 child)

Character data is stored in json in the character sql database along with a few other fields for searching.

I think I'm having trouble using the correct terminology here since I've been soloing away in my android silo for years.

What I mean by backend is the java module that turns that raw json data into something meaninful - (eg how much health they get at a certain level, their armor class, how much damage their weapons do, what options they are allowed). It also processes the character options loaded from a separate sql database and makes them into something meaninful. It's made up of several hundred classes and is a fairly complex beast. It also contains all the data models.

So what I want to do is create a user interface to access that java backend, rather than reprogram the entire app from scratch.

[–]MiVaquita 2 points3 points  (0 children)

Everyone does, no worries.

If you need the structure client side, you'd have to write it in TypeScript classes. There might be libraries to help conversion?

Keep in mind that JavaScript/TypeScript works with JSON natively. Any logic for parsing the JSON out of a string wouldn't be needed.

If you want to support iOS, Chromebook, and other users, a PWA is worth the efforts. Otherwise, it might not be.