Skip to content

clj-codes/docs.frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4ecff70 · Apr 25, 2025
Aug 4, 2024
Apr 25, 2025
Mar 1, 2024
Mar 21, 2024
Feb 20, 2024
Jul 10, 2024
Aug 6, 2024
Sep 4, 2024
Mar 21, 2024
Mar 24, 2024
Apr 29, 2023
Apr 9, 2024
Apr 25, 2025
Feb 19, 2024
Apr 11, 2024
Apr 25, 2025
Apr 25, 2025
Jan 26, 2024
Aug 4, 2024

Repository files navigation

docs.frontend

Frontend SPA for docs.clj.codes

Config src/codes/clj/docs/frontend/config.cljs

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 and REDIRECT_URI.

Project

Check the project backlog, issues and ongoing tasks

Commands

Watch

Start shadow-cljs watching and serving app and tests

npm start

Main App available at http://localhost:5000
Tests available at http://localhost:5002

Tests

Compile with shadow-cljs and run tests in node with karma

npm test

Jsdom (under evaluation)

Compile with shadow-cljs and run tests in node with jsdom

npm run test:node

Release

Build the release package to production deploy

npm run release

Releases

No releases published

Packages

No packages published

Contributors 2

Languages