• Stars
    star
    173
  • Rank 220,124 (Top 5 %)
  • Language
    Clojure
  • License
    Eclipse Public Li...
  • Created almost 10 years ago
  • Updated almost 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Clojure template for web development (with SPA support)

closp

Usage

Backend

  1. Run clj -A:new -M:new https://github.com/sveri/closp@d0aca65b2263cd6b2107d4b3c4dae2f12f7fb565 de/sveritest/closptest in a console.
  2. Open your postgresql instance and add a new user: {{name}} with password: {{name}} and create a database {{name}}.
  3. Add a users table to the new database. The script can be found in migrators/postgres/1-user.up.sql'.
  4. CD to the newly generated folder {{name}}.
  5. Run clj and from the repl (start) to start the development server.

Frontend

  1. Run npm install in a separate console to install the dependencies.
  2. Run shadow-cljs watch main to start the cljs compiler.
  3. Navigate to http://localhost:3000/reagent-example.

Preview

Intro

Supported by

The development of closp is supported by Jetbrains and their awesome IDE

Jetbrains Logo

License

Copyright © 2020 Sven Richter

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.