A Clojure clone of a Javascript Shopping Cart app with Lit on the frontend
MIT License
This project is based off of the Redis Shopping Cart app tutorial.
clj -T:build all && java -jar target/clj-shopping-standalone.jar
cd client
npm install
npm run dev
The Swagger API will be at http://localhost:3000/api/index.html#/
The UI should be running at http://localhost:5173/
Start a REPL in your editor or terminal of choice.
Start the server with:
(go)
The default API is available under http://localhost:3000/api
System configuration is available under resources/system.edn
.
To reload changes:
(reset)
Configure a REPL following the Cursive documentation. Using the default "Run with IntelliJ project classpath" option will let you select an alias from the "Clojure deps" aliases selection.
Use the cider
alias for CIDER nREPL support (run clj -M:dev:cider
). See the CIDER docs for more help.
Note 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.
Run clj -M:dev:nrepl
or make repl
.
Note that, just like with 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.