Awesome
Ping CRM on Clojure
A demo application built with Clojure + ClojureScript to illustrate how Inertia.js works.
This is a port of the original Ping CRM written in Laravel/PHP + VueJS to Clojure with Integrant, Ring, Reitit, next.jdbc and ClojureScript Reagent.
There is a hosted installation of this demo available at https://inertia.prestance-design.com/.
Installation
Clone the repo locally:
git clone https://github.com/prestancedesign/clojure-inertia-pingcrm-demo
cd clojure-inertia-pingcrm-demo
Run the application
Build the front-end
npm install & npm run release
Run the back-end
clj -M:run
You're ready to go! Open http://localhost:3000 and login with:
- Username: johndoe@example.com
- Password: secret
Run the application on development (REPL)
Run the front-end with JS and CSS hot reloading
npm run dev
Run the back-end REPL
clj -M:dev
Once REPL starts, run the system:
(go)
External resources
- Clojure Inertia adapter: https://github.com/prestancedesign/inertia-clojure
- Inertia.js documentation: https://inertiajs.com/
- Original Ping CRM demo written in PHP Laravel/Vue.js: https://github.com/inertiajs/pingcrm
License & Copyright
Copyright (c) 2021 Prestance / Michaël SALIHI. Distributed under the MIT license.