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-url
base url that the http client will use to build the backend requests:github
informations used to do the login with github like:client-id
and: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_ID
andREDIRECT_URI
.
Check the project backlog, issues and ongoing tasks
Start shadow-cljs watching and serving app and tests
npm start
Main App available at http://localhost:5000
Tests available at http://localhost:5002
Compile with shadow-cljs and run tests in node with karma
npm test
Compile with shadow-cljs and run tests in node with jsdom
npm run test:node
Build the release package to production deploy
npm run release