dsriseah / ursys

an opinionated javascript library for prototyping realtime web apps
1 stars 2 forks source link

Comment Module: Stage 2 Support Systems and Refactoring #26

Closed dsriseah closed 4 months ago

dsriseah commented 4 months ago

This PR is the second pass at porting the NetCreate Comment Manager so it can be reused in other projects that are being updated this year. It largely contains modularity improvements for universal systems:

Additionally, all addons have been updated to draw from URSYS CORE. In particular:

SIMPLE TESTING

PLATFORM TESTING

Update ursys.dsri.xyz deployment on Digital Ocean


DETAILED CHANGE LIST

URSYS Core Changes

Network Abstraction Changes

NetEndpoint has been refactored to use two new support classes!

The reason for the change is two-fold:

While not a priority now, ServiceMap is a foundational element of multi-network URSYS networks; see the discussion #22

Typescript Conversion Changes

There used to be several javascript files with the .js .mjs .cjs extensions, which made interoperability between typescript files .ts .mts difficult. They have all been converted to Typescript, finally, so only .ts and .mts files are in the URSYS project.

dsriseah commented 4 months ago

Testing Digital Ocean, logging in as non-root

ur net stop
git fetch
git checkout dev-sri/comment-module-2
npm ci && cd _ur
ur net start

confirm it works!

nohup ur net start &

browse to https://ursys.dsri.xyz/app ... WORKS browse to https://ursys.dsri.xyz/app/list ... WORKS