Skip to content

omnyway-labs/daily-co-experiments

Repository files navigation

Exerpiments with Daily.co Video service in clojure[script]

Initial experiments with the prebuild-ui

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in development mode.
Open http://localhost:3000 to view it in the browser. The page will reload if you make edits.

The app uses Reagent, a minimalistic interface between ClojureScript and React.
You can use existing npm React components directly via a interop call.

It uses Re-Frame for state management

The re-frame-10x debugging dashboard for re-frame is installed by default for dev. Ctl-h will hide or show the dashboard.

Also included is the Omnyway open source library refn that adds some syntactic wrappers for defining and subscribing re-frame events. It also adds mechanisms for using the re-frame app-db for caching large resultsets from db accesses.

Builds use Shadow CLJS for maximum compatibility with NPM libraries. You'll need a Java SDK (Version 8+, Hotspot) to use it.
You can import npm libraries using Shadow CLJS. See the user manual for more information.

yarn build

Builds the app for production to the dist folder.
It correctly bundles all code and optimizes the build for the best performance.

Your app is ready to be deployed!

Other useful scripts

yarn lint and yarn format

yarn lint checks the code for known bad code patterns using clj-kondo.

yarn format will format your code in a consistent manner using zprint-clj.

yarn report

Make a report of what files contribute to your app size.
Consider code-splitting or using smaller libraries to make your app load faster.

yarn server

Starts a Shadow CLJS background server.
This will speed up starting time for other commands that use Shadow CLJS.

License

Released under MIT License

Copyright 2021 Robert Berger and Omnyway Inc.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published