Giter VIP home page Giter VIP logo

datodomvc's Introduction

DatodoMVC

A TodoMVC implementation using Dato, the Clojure/Script Datomic/DataScipt app development framework.

This is an implementation of TodoMVC using Datomic on the backend to persist data that's then fed to DataScript in the frontend. The UI is driven entirely from the DataScript DB (even component local state). See the Dato Rationale for more. Here's a video of what it looks like once it's running

Running this demo

  1. Install and start Datomic (TODO: friendlier instructions here)

  2. Clone this repo

    git clone [email protected]:sgrove/datodomvc.git
    cd datodomvc
    git submodule update --init
    
  3. Start the figwheel server. Figwheel compiles the frontend assets, recompiles them when the files change, and updates the browser with the changed code.

    lein figwheel or rlwrap lein figwheel

  4. Start the web server. Export a few environment variables to get things working on your system. The DatodoMVC example uses environ, so you can also define env variables in a local profiles.clj.

    export DATOMIC_URI="datomic:free://localhost:4334/pc2" # This will depend on your datomic setup
    export NREPL_PORT=6005 # starts embedded nrepl server
    export DATO_PORT=8081 # 8080 is the default value, change it if there is a port conflict
    export PORT=10556 # 10555 is the default
    lein run
    

Support

  • For questions on getting this demo running or modifying it, feel free to open issues on this repo.
  • For overall Dato design issues, please use the Dato Repo's issue tracker
  • General questions, I'm on twitter at @sgrove

License

Copyright © 2015 Sean Grove

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

datodomvc's People

Contributors

dwwoelfel avatar sgrove avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.