Code Monkey home page Code Monkey logo

scalatra-react-isomorphic's Introduction

scalatra-react-isomorphic

An example of light weight isomorphic web application using Scalatra as a back-end framework and React as a front-end framework. Nashorn or J2V8 is used for server rendering.

Prerequisites

  1. Java >= 1.8.0_144
  2. NodeJs >= 6.11.3
  3. sbt >= 1.0.2

Build & Run

$ cd [working directory]
$ ./sbt
> jetty:start
> browse

If browse doesn't launch your browser, manually open http://localhost:8080/ in your browser.

Packaging

$ cd [working directory]
$ ./sbt
> assembly

Embedded Jetty is used to create standalone jar.

assembly task will compile your project, run your tests, and then pack your class files, all your dependencies and webapp resources into a single JAR file: target/scala_X.X.X/projectname-assembly-X.X.X.jar. If you want more configurable, please have a look at sbt-assembly.

Bugs and Issues

Have a bug or an issue with this template? Open a new issue

License

Code released under the Unlicense license

scalatra-react-isomorphic's People

Contributors

nudemeth avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

smksyj

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.