Skip to content

ianffcs/tangerina

Repository files navigation

TODO-APP Clojure + Clojurescript (Reagent)

Backend main && main-test

Web server that serves an api route with GraphQL and a route with frontend on ./public/index.html, possibly on future some REST routes.

Graphql Layer with lacinia

  1. Lacinia API described by the schema on core.clj and with their impl.
  2. Datascript DB impl on datascript.clj that exposes a Lacinia interface to queries and mutations to use.

reimplement the interface in lacinia for a in-memory db in atom_db.clj

To Show

Datascript Tests (datascript_test.clj) and Impl (datascript.clj).

Lacinia interface to GraphQL with EQL, show Tests (core_test.clj) and Impl.

Frontend

Clojurescript front ends, reagent is served on index that make requests on graphql backend, possibly on Rest in the future

To Show

graphql-request + pathom interface on frontend to communicate with backend

make tests on this interface

Reagent Impl

make ui-tests using etaoin

How to run

After startint the application, the backend api is exposed on graphql or on graphiql and the frontend is on index.

with dev repl

npm install && shadow-cljs -A:test watch todo-mvc

with dev env

npm install && clj -A:test -X:dev

or build the jar

npm install && clj -X:build-cljs  && clj -X:build

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages