Skip to content

Commit

Permalink
Initial hello world application.
Browse files Browse the repository at this point in the history
  • Loading branch information
codonnell committed Mar 14, 2020
0 parents commit 269b426
Show file tree
Hide file tree
Showing 10 changed files with 1,003 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
resources/public/js
node_modules
.cpcache
.shadow-cljs
.nrepl-port
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Gift List App

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.

## Setup

In order to run this application, you need to have the following installed:
* [node.js](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)
* [java](https://adoptopenjdk.net/)
* [clojure cli](https://clojure.org/guides/getting_started)

With these installed, run
```bash
npm install
```

to install javascript dependencies.

## Running

To run this application in development mode, start a shadow-cljs server with
```bash
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
```

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.
9 changes: 9 additions & 0 deletions deps.edn
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{:paths ["src" "resources"]
:deps {com.fulcrologic/fulcro {:mvn/version "3.1.20"}
com.taoensso/timbre {:mvn/version "4.10.0"}}
:aliases {:dev {:extra-paths ["dev"]
:jvm-opts ["-Dtrace"]
:extra-deps {org.clojure/clojurescript {:mvn/version "1.10.597"}
thheller/shadow-cljs {:mvn/version "2.8.83"}
fulcrologic/fulcro-inspect {:mvn/version "2.2.5"}
binaryage/devtools {:mvn/version "0.9.10"}}}}}
Loading

0 comments on commit 269b426

Please sign in to comment.