Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tendant/dbwebview

Simple web ui for querying database. Built with Reagent, ClojureScript.
https://github.com/tendant/dbwebview

Last synced: about 13 hours ago
JSON representation

Simple web ui for querying database. Built with Reagent, ClojureScript.

Awesome Lists containing this project

README

        

* DbWebView
Simple web ui for querying database. Built with Reagent, ClojureScript.

** Usage

*** Build

#+BEGIN_EXAMPLE
$ lein cljsbuild
$ lein uberjar
#+END_EXAMPLE

*** Run

#+BEGIN_EXAMPLE
$ java -jar target/dbwebview-0.1.0-SNAPSHOT-standalone.jar
#+END_EXAMPLE

Before start server, update database connection information in
src/dbwebview/db.clj file or configure database parameters using
environment variables:

#+BEGIN_EXAMPLE

CLASS_NAME: JDBC driver class name
SUB_PROTOCOL: JDBC driver sub protocol
DB_HOST: Database server
DB_PORT: Database port
DB_NAME: Database name
DB_USER: Database username
DB_PASSWORD: Database password
DB_OPTIONS: Database JDBC connection options

#+END_EXAMPLE

** Development

*** Build

#+BEGIN_EXAMPLE
$ lein cljsbuild once
#+END_EXAMPLE

*** Start server

#+BEGIN_EXAMPLE
$ lein ring server-headless
#+END_EXAMPLE

*** Start figwheel

#+BEGIN_EXAMPLE
$ lein repl
user=> (start-figwheel)
#+END_EXAMPLE