Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/prestancedesign/pingcrm-clojure

PingCRM on Clojure - A Clojure/Script fullstack demo application to illustrate how Inertia.js works.
https://github.com/prestancedesign/pingcrm-clojure

clojure clojurescript integrant next-jdbc re-frame react reagent reitit shadow-cljs single-page-app

Last synced: 2 months ago
JSON representation

PingCRM on Clojure - A Clojure/Script fullstack demo application to illustrate how Inertia.js works.

Awesome Lists containing this project

README

        

# Ping CRM on Clojure

A demo application built with Clojure + ClojureScript to illustrate how [Inertia.js](https://inertiajs.com/) works.

![](screenshot.png)

This is a port of the original [Ping CRM](https://github.com/inertiajs/pingcrm) 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](http://localhost:3000) and login with:

- **Username:** [email protected]
- **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)

Open [http://localhost:3000](http://localhost:3000)

## 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.