Web Services 2



I've completely rewritten my web services. Here are some of the changes:

Combining of Static Site and Web Services

The static site (stene.xyz) and web services (drop.stene.xyz, scribe.stene.xyz, content.stene.xyz, etc...) have been combined into one service.

Switch to a Monolithic Design

The site as a whole has moved to a monolithic design rather than the earlier microservice design.

Authentication System

There is a new authentication system, that was previously trialed on the (experimental & now gone) games.stene.xyz service. Mandatory 2-factor authentication has been added, however.

Unit Tests

There is now a testing suite for the web services. Every push is automatically run through a workflow on Github Actions to run the test suite and validate that the core components of the site work properly. I plan to expand this testing as time goes on.

Rendering Engine

There's a new rendering engine - it's super basic. You feed it a key/value store for all of the values you'd like to replace, and what you'd like to replace them with. Input is, of course, sanitized before rendering.