All Projects → souenzzo → graph-demo

souenzzo / graph-demo

Licence: other
A simple demo using pathom, fulcro and crux

Programming Languages

clojure
4091 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to graph-demo

nota
Static Markdown Blog/Site using Fulcro & Pathom with no backend
Stars: ✭ 35 (-27.08%)
Mutual labels:  fulcro, pathom
kernel xiaomi raphael
// CAFest Kernel for XiaoMi SM8150 devices (raphael)(cepheus) Updated to CAF tag LA.UM.9.1.r1-10900.02-SMxxx0.QSSI12.0 with android-4.14-stable merged
Stars: ✭ 67 (+39.58%)
Mutual labels:  crux
react-soft-ui-dashboard
React Dashboard - Soft UI Dashboard | AppSeed
Stars: ✭ 171 (+256.25%)
Mutual labels:  fullstack
shopyo
shopyo.readthedocs.org
Stars: ✭ 66 (+37.5%)
Mutual labels:  fullstack
vuenode-fullstack
Vue.Js & Node fullstack Single Page Application with Relational databases as backend using Sequelize. Live Demo:
Stars: ✭ 42 (-12.5%)
Mutual labels:  fullstack
Trybe-School
All activities while studying at Trybe fullstack software development school. Contains: projects, exercises, course summaries. Brazil, 2020-2021.
Stars: ✭ 73 (+52.08%)
Mutual labels:  fullstack
rsp
A server-state reactive Java web framework for building real-time user interfaces and UI components.
Stars: ✭ 35 (-27.08%)
Mutual labels:  fullstack
HopeLibrarySystem
厚朴工作室图书管理系统Hope books manage system📘
Stars: ✭ 42 (-12.5%)
Mutual labels:  fullstack
fullstackDevelopment
Material & Projects related to full stack development
Stars: ✭ 90 (+87.5%)
Mutual labels:  fullstack
web-onefx-boilerplate
Full-stack React Framework for building web and backend
Stars: ✭ 34 (-29.17%)
Mutual labels:  fullstack
showcase
A Full Stack Journey with Micro Services and Micro Front Ends. Using dapr, kubernetes, react module federation and web assembly,
Stars: ✭ 45 (-6.25%)
Mutual labels:  fullstack
create-fullstack-app
Create Fullstack TypeScript application with ease.
Stars: ✭ 29 (-39.58%)
Mutual labels:  fullstack
elm-webapp
A setup for writing http based, client-server app in elm, inspired wholly by lamdera.com
Stars: ✭ 52 (+8.33%)
Mutual labels:  fullstack
fullstack-typescript
A demo project of a full stack typescript application
Stars: ✭ 28 (-41.67%)
Mutual labels:  fullstack
reason-rust-scraper
🦀 Scraping & crawling websites using Rust, and ReasonML
Stars: ✭ 21 (-56.25%)
Mutual labels:  fullstack
nextjs-dapp-starter-ts
A fullstack monorepo template to develop ethereum dapps
Stars: ✭ 228 (+375%)
Mutual labels:  fullstack
inCyberPunk2022
👾 https://cybersocial.herokuapp.com/   C̵̡̡͓̪̺̲̺̳̭̱̩͖͔̽̈́͜y̵̢̺̮̥̠̲̼̫͗b̴̲͇̟̭̹͆͒̈́̒͋̃̌̇̈̆̚͠͠ȅ̷̡̢̩̺̏r̴̢̛̹̲̜͙͉̩̩̣͉̺͂̀́̈́̇͛͋̊̉̈́̇P̵̡͊̚ų̵̙̣͓̤̼̭̤̥̯̻̯̒ͅň̸̛̯͕̦̦͓̙̋͐̈́́̉ͅḱ̷̡̪͚͉̟̘̳̯̳͉̈́͐͂̇̾͑̕̕͝ͅ
Stars: ✭ 28 (-41.67%)
Mutual labels:  fullstack
easypastes
Use Easy Pastes to create, store, share code snippets by simply pasting them with syntax highlight.
Stars: ✭ 34 (-29.17%)
Mutual labels:  fullstack
Full-Stack-Development-Learning-Path
This repo contains all the things which I practice while learning the Full-stack web development
Stars: ✭ 80 (+66.67%)
Mutual labels:  fullstack
remult
A CRUD framework for full stack TypeScript
Stars: ✭ 1,488 (+3000%)
Mutual labels:  fullstack

Friends Graph

A simple demo using fulcro, pathom and crux

Running (for clj devs)

Install npm deps

$ npm install

Start a REPL with dev profile

$ clj -A:dev

Call (user/-main) function. Wait the shadow-cljs build

Connect at localhost:8080

Running (for js devs)

Install npm deps

$ npm install

Start shadow-cljs via npm

$ npm start

Connect at localhost:8080

Running "production" jar

Install npm deps

$ npm install

Generate uberjar

$ lein uberjar

And run

java -jar target/graph-demo.jar

Connect at localhost:8080

React native (not working)

After get the web up'n'running, start the metro server

npm run rn-server

Then launch the app on emulator/app.

npm run rn-android

Hacking

src/
├── dev
│   └── user.clj ## dev helper
└── main
    └── souenzzo
        └── graph_demo
            ├── client.cljs   ## fulcro sutff
            └── core.clj      ## http, pathom and crux stuff
deps.edn                      ## clj deps
package.json                  ## js deps

Fulcro components generate a query like this

[{[:user/id "foo"]  [:user/id
                     :user/color
                     {:user/friends [:user/id 
                                     :user/color 
                                     {:user/friends [:user/id]}]}]}] 

Patohom resolver souenzzo.graph-demo.core/friends (bad name) will get "foo", turn into :user.id/foo, get the entity from crux, usually something like {:crux.db/id "foo" :user/friends [:user.id/var]} and return {:user/friends [{:user/id "bar"}]}

Pathom will flow the query recursively.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].