Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tatut/widgetshop
Simple Reagent example.
https://github.com/tatut/widgetshop
Last synced: about 2 months ago
JSON representation
Simple Reagent example.
- Host: GitHub
- URL: https://github.com/tatut/widgetshop
- Owner: tatut
- Created: 2014-12-08T12:07:40.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-10-22T05:00:49.000Z (about 9 years ago)
- Last Synced: 2024-10-13T22:52:02.790Z (3 months ago)
- Language: Clojure
- Size: 309 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Reagent demo: widget shop #
Simple Clojure and ClojureScript example for an online shop UI using Reagent.
What's not included:
- validation
- authentication## Building ##
To build a standalone uberjar that can be run with "java -jar" command,
use "lein build".## Running locally ##
Clone this repo.
Create a PostgreSQL database with the database.sql script and set the connection parameters in settings.edn.Run "lein repl" and invoke the -main function for the backend.
Run "lein figwheel dev" to setup ClojureScript dev environment.Then open in local browser:
http://localhost:3000/index.html (for the basic widgetshop product gallery sample)
http://localhost:3000/sales.html (for the sales data listing and visualization sample)