Skip to content

nichoth/try-logux

Repository files navigation

try logux

Trying logux


develop

Copy the .env.example file to src/server/.env

cp ./.env.example ./src/server/.env

Start the logux server in one terminal:

npm run start:logux

In a different terminal, start the frontend server:

npm run start:vite

architecture

See this article for more details about application architecture.

We create application state and logic in the file ./src/state.ts. This exports static functions, creates a state object, sets up URL routing, and subscribes to logux.

In the view code, you would call the functions exposed in state with a state instance in response to DOM events.

About

Trying logux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published