{"id":21804948,"url":"https://github.com/pez/cljs-re-frame-full-stack","last_synced_at":"2025-10-29T04:07:23.114Z","repository":{"id":205176937,"uuid":"713599324","full_name":"PEZ/cljs-re-frame-full-stack","owner":"PEZ","description":"A simple (and silly) full stack example app using reitit, ring, reagent, re-frame, etc","archived":false,"fork":false,"pushed_at":"2023-11-03T06:36:26.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-11T15:01:41.741Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PEZ.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-02T21:14:17.000Z","updated_at":"2023-11-02T21:14:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"8d8026e2-a926-4669-9e1a-243e809141a4","html_url":"https://github.com/PEZ/cljs-re-frame-full-stack","commit_stats":null,"previous_names":["pez/cljs-re-frame-full-stack"],"tags_count":0,"template":true,"template_full_name":"schnaq/cljs-re-frame-full-stack","purl":"pkg:github/PEZ/cljs-re-frame-full-stack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PEZ%2Fcljs-re-frame-full-stack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PEZ%2Fcljs-re-frame-full-stack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PEZ%2Fcljs-re-frame-full-stack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PEZ%2Fcljs-re-frame-full-stack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PEZ","download_url":"https://codeload.github.com/PEZ/cljs-re-frame-full-stack/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PEZ%2Fcljs-re-frame-full-stack/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262076744,"owners_count":23255060,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-27T11:57:32.024Z","updated_at":"2025-10-29T04:07:18.071Z","avatar_url":"https://github.com/PEZ.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Full Stack Clojure / ClojureScript Project with re-frame\n\n## Setup\n\nFirst, install the dependencies with npm:\n\n    yarn\n\nThen, you can start the frontend service with:\n\n    clj -M:frontend\n\nYou find the application at http://localhost:8700.\n\nStart the backend API with this alias:\n\n    clj -M:api\n\nFind the backend server's documentation at: http://localhost:3000\n\n## Using Calva\n\nWhen you are using Calva, you can start frontend and backend in one REPL Session by using the jack-in command, then choosing `deps.edn + shadow-cljs` and `:frontend` as the preferred alias. In the last dialog, choose `:app`.\n\nTo start the backend, load `api.clj` into your repl and call the main-function.\n\n### Demo (check also Shortcuts below)\n\nhttps://user-images.githubusercontent.com/1507474/174399574-2fa629a3-2260-4f87-92cb-7ce6de8d8a79.mp4\n\nBetter quality video is available at [YouTube](https://youtu.be/qFh9c_fNpjM)\n\n### Shortcut Advices\n\nIt is especially great if you have a REPL to be able to interact with the code directly from the editor. There are a few keyboard shortcuts for this, which you can\nconfigure them as you like. These are my (@n2o) recommendations:\n\n- `C-c C-c` (Control C, Control C): Evaluates S-Expression (thus sends the\n  current code from the cursor to the REPL).\n- `C-c C-k`: Loads all the code from the file into the REPL.\n- `C-c right`: Moves the closing parenthesis one expression further to the right.\n- `C-c left`: Moves the closing parenthesis one expression back to the left.\n- `C-c C-d`: If you have accidentally created an endless loop, cancel the last expression with this abbreviation.\n\nTo install the shortcuts, open the Keyboard Shortcuts in VSCode under Preferences. In the top right-hand corner you will find an icon with which you can open the configuration file.\n\nThere you can add the following entries.\n\n```json\n[\n  {\n    \"key\": \"ctrl+c ctrl+c\",\n    \"command\": \"calva.evaluateCurrentTopLevelForm\",\n    \"when\": \"calva:connected\"\n  },\n  {\n    \"key\": \"ctrl+c ctrl+d\",\n    \"command\": \"calva.interruptAllEvaluations\",\n    \"when\": \"calva:connected\"\n  },\n  {\n    \"key\": \"ctrl+c ctrl+k\",\n    \"command\": \"calva.loadFile\",\n    \"when\": \"calva:connected\"\n  },\n  {\n    \"key\": \"ctrl+c right\",\n    \"command\": \"paredit.slurpSexpForward\",\n    \"when\": \"calva:keybindingsEnabled \u0026\u0026 editorTextFocus \u0026\u0026 editorLangId == 'clojure' \u0026\u0026 editorLangId == 'clojure' \u0026\u0026 paredit:keyMap =~ /original|strict/\"\n  },\n  {\n    \"key\": \"ctrl+c left\",\n    \"command\": \"paredit.barfSexpForward\",\n    \"when\": \"calva:keybindingsEnabled \u0026\u0026 editorTextFocus \u0026\u0026 editorLangId == 'clojure' \u0026\u0026 editorLangId == 'clojure' \u0026\u0026 paredit:keyMap =~ /original|strict/\"\n  }\n]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpez%2Fcljs-re-frame-full-stack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpez%2Fcljs-re-frame-full-stack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpez%2Fcljs-re-frame-full-stack/lists"}