Frontend SPA for docs.clj.codes
This file has two main functions:
- Define mantine.dev base theme
- Set configuration differences between local and deployed versions
:base-urlbase url that the http client will use to build the backend requests:githubinformations used to do the login with github like:client-idand:redirect-uri
- For the configuration values above, their values may be redefined at compile time if their corresponding environment
variables are present:
BASE_URL,CLIENT_IDandREDIRECT_URI.
Check the project backlog, issues and ongoing tasks
Start shadow-cljs watching and serving app and tests
npm startMain App available at http://localhost:5000
Tests available at http://localhost:5002
Compile with shadow-cljs and run tests in node with karma
npm testCompile with shadow-cljs and run tests in node with jsdom
npm run test:nodeBuild the release package to production deploy
npm run release