{"id":15010325,"url":"https://github.com/cwithmichael/clj-shopping","last_synced_at":"2026-02-23T12:56:25.092Z","repository":{"id":236148985,"uuid":"791938933","full_name":"cwithmichael/clj-shopping","owner":"cwithmichael","description":"A Clojure clone of a Javascript Shopping Cart app with Lit on the frontend","archived":false,"fork":false,"pushed_at":"2024-04-28T18:50:45.000Z","size":4502,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-27T00:33:01.294Z","etag":null,"topics":["clojure","lit","redis","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/cwithmichael.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":"2024-04-25T16:58:05.000Z","updated_at":"2025-08-26T15:23:58.000Z","dependencies_parsed_at":"2024-04-28T19:39:52.053Z","dependency_job_id":null,"html_url":"https://github.com/cwithmichael/clj-shopping","commit_stats":null,"previous_names":["cwithmichael/clj-shopping"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cwithmichael/clj-shopping","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwithmichael%2Fclj-shopping","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwithmichael%2Fclj-shopping/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwithmichael%2Fclj-shopping/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwithmichael%2Fclj-shopping/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cwithmichael","download_url":"https://codeload.github.com/cwithmichael/clj-shopping/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwithmichael%2Fclj-shopping/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29743657,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T07:44:07.782Z","status":"ssl_error","status_checked_at":"2026-02-23T07:44:07.432Z","response_time":90,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["clojure","lit","redis","typescript"],"created_at":"2024-09-24T19:33:33.516Z","updated_at":"2026-02-23T12:56:25.073Z","avatar_url":"https://github.com/cwithmichael.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# clj-shopping\n\nThis project is based off of the [Redis Shopping Cart app tutorial](https://github.com/redis-developer/basic-redis-shopping-chart-nodejs).\n\n## To Run locally\n\n### Make sure you have\n\n- a local Redis instance running on port 6379\n- Java installed\n- Clojure installed\n\n#### Start the Server\n\n`clj -T:build all \u0026\u0026 java -jar target/clj-shopping-standalone.jar`\n\n#### Start the Client in a different terminal window\n\n`cd client`\n\n`npm install`\n\n`npm run dev`\n\nThe Swagger API will be at\nhttp://localhost:3000/api/index.html#/\n![swagger-api](./docs/images/swagger.png)\n\nThe UI should be running at\nhttp://localhost:5173/\n\n![shopping-cart-desktop](./docs/images/shopping-cart1.png)\n\n![shopping-cart-mobile-1](./docs/images/shopping-cart2.png)\n\n![shopping-cart-mobile-2](./docs/images/shopping-cart3.png)\n\n## TODO\n\n- Add proper error handling\n- Add tests\n- Improve documentation\n- Rethink architecture on client side\n\n## Local Clojure Development\n\nStart a [REPL](#repls) in your editor or terminal of choice.\n\nStart the server with:\n\n```clojure\n(go)\n```\n\nThe default API is available under http://localhost:3000/api\n\nSystem configuration is available under `resources/system.edn`.\n\nTo reload changes:\n\n```clojure\n(reset)\n```\n\n## REPLs\n\n### Cursive\n\nConfigure a [REPL following the Cursive documentation](https://cursive-ide.com/userguide/repl.html). Using the default \"Run with IntelliJ project classpath\" option will let you select an alias from the [\"Clojure deps\" aliases selection](https://cursive-ide.com/userguide/deps.html#refreshing-deps-dependencies).\n\n### CIDER\n\nUse the `cider` alias for CIDER nREPL support (run `clj -M:dev:cider`). See the [CIDER docs](https://docs.cider.mx/cider/basics/up_and_running.html) for more help.\n\nNote that this alias runs nREPL during development. To run nREPL in production (typically when the system starts), use the kit-nrepl library through the +nrepl profile as described in [the documentation](https://kit-clj.github.io/docs/profiles.html#profiles).\n\n### Command Line\n\nRun `clj -M:dev:nrepl` or `make repl`.\n\nNote that, just like with [CIDER](#cider), this alias runs nREPL during development. To run nREPL in production (typically when the system starts), use the kit-nrepl library through the +nrepl profile as described in [the documentation](https://kit-clj.github.io/docs/profiles.html#profiles).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcwithmichael%2Fclj-shopping","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcwithmichael%2Fclj-shopping","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcwithmichael%2Fclj-shopping/lists"}