GithubHelp home page GithubHelp logo

troller-frontend's Introduction

troller

Dating for trolls.

Dating for Trolls

The frontend repo for a demo given for the lightning talk Feed the Feedback Loop for the Oslo Python Meetup June 2019.

What you need

First thing you need to do is to make sure you have JDK 11 installed.

Second thing you will need is shadow-cljs.

Clojure and Clojurescript

Crash course freely available here. You also have Clojurescript Unraveled which focuses exclusively on Clojurescript.

Emacs is not recommended to learn in addition to learning Clojure, but you will want to have an editor that understands s-expressions, so that you can do this.

Editors you can choose from:

Stack

Clojurescript typically uses a set of libraries instead of a big framework. Each library normally has one role and one role alone to fill.

  • Clojurescript
  • hiccup (Slight lie, as it's reagent, but the HTML rendering of reagent uses the same syntax, so it's easier to read about it here)
  • reagent (The wrapper around react)
  • re-frame (Organizes the code and handles side effects)
  • re-com (Re-usable components built on top of re-frame)

Get it up and running

These are done in terminals.

Install all NPM deps

npm install

Start the build tool (shadow-cljs). This command automatically launches a watcher, compiler, web server to browse to, live reload and an nREPL.

shadow-cljs watch :app

Surf to server being run by shadow-cljs

REPL

Connect to the started nREPL (will be printed out in the terminal where shadow-cljs is running) and in the repl type

(shadow/repl :app)

This will connect you to the REPL shadow-cljs is running for you for the browser.

License

Copyright © 2019 inonit

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

troller-frontend's People

Contributors

emil0r avatar

Watchers

 avatar James Cloos 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.