Skip to content

Commit 269b426

Browse files
committed
Initial hello world application.
0 parents  commit 269b426

File tree

10 files changed

+1003
-0
lines changed

10 files changed

+1003
-0
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
resources/public/js
2+
node_modules
3+
.cpcache
4+
.shadow-cljs
5+
.nrepl-port

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Gift List App
2+
3+
This is a work in progress web app that allows people to build and share gift lists. Invited participants can claim gifts without the creator knowing, similar to a baby or wedding registry. The development process is being documented on [my blog](https://chrisodonnell.dev); see the [introductory post](https://chrisodonnell.dev/posts/giftlist/intro/) for context.
4+
5+
## Setup
6+
7+
In order to run this application, you need to have the following installed:
8+
* [node.js](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)
9+
* [java](https://adoptopenjdk.net/)
10+
* [clojure cli](https://clojure.org/guides/getting_started)
11+
12+
With these installed, run
13+
```bash
14+
npm install
15+
```
16+
17+
to install javascript dependencies.
18+
19+
## Running
20+
21+
To run this application in development mode, start a shadow-cljs server with
22+
```bash
23+
npx shadow-cljs -d nrepl:0.7.0-beta1 -d cider/piggieback:0.4.2 -d refactor-nrepl:2.5.0 -d cider/cider-nrepl:0.25.0-SNAPSHOT server
24+
```
25+
26+
Alternatively, CIDER users can run `cider-jack-in-cljs`. With this running, you can control compilation by accessing the shadow-cljs server at http://localhost:9630 and access the application at http://localhost:8080.

deps.edn

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{:paths ["src" "resources"]
2+
:deps {com.fulcrologic/fulcro {:mvn/version "3.1.20"}
3+
com.taoensso/timbre {:mvn/version "4.10.0"}}
4+
:aliases {:dev {:extra-paths ["dev"]
5+
:jvm-opts ["-Dtrace"]
6+
:extra-deps {org.clojure/clojurescript {:mvn/version "1.10.597"}
7+
thheller/shadow-cljs {:mvn/version "2.8.83"}
8+
fulcrologic/fulcro-inspect {:mvn/version "2.2.5"}
9+
binaryage/devtools {:mvn/version "0.9.10"}}}}}

0 commit comments

Comments
 (0)