S

serverus

🔥 Multi-tenant application for creating customized platforms, marketplaces, and websites with custom hostnames on the edge. PayPal Marketplace and Stripe Connect integration. i18n locales and translations. Theme customization and more.

Decided on the 'Appearance' settings for

I won't allow website owners to override the color mode (light, dark, system); only the end-user can control it.

Converted an SQL batch to a transaction, saving potential subsequent requests

Researching color theme UI's and determining how much control to give to the end user

Providing users with too much control can result in unappealing websites, while too little control may hinder the ability to match brand colors effectively.

Abstracted away the functionality for adding routes and handling missing page locales to be re-usable

Refactored the API endpoint, validation schema, and SQL for deleting locales

I discovered multiple-column unique indexes for SQL instead of using IF NOT EXISTS ... INSERT

Created the server-side code for adding and removing locales saved in SQLite

Created the server-side logic for updating the default locale in the SQLite database

Initial attempt at the locale settings UI

The default locale setting could be added as a button to the list. I chose to highlight it more prominently at the top. Please disregard the color theme.