Git Product home page Git Product logo

new-project's Introduction

Rendering engine sandbox

A starter based on universal react applications v13.0.0.

About

This starter kit contains all the build tooling and configuration you need to kick off your next universal React project, whilst containing a minimal "project" set up allowing you to make your own architecture decisions (Redux/MobX etc).

Plus you can setup any canal+ rendering engine such as tms-rendering-engine

For a complete documentation about React Universally please visit the official documentation

Intro

You should see the sandbox as an opportunity to build a realistic application using any canal + rendering engine.

Prerequisites

  • node >= v7.x
  • yarn (npm install yarn -g)
  • scss_lint (gem install scss_lint -v 0.53) v0.53

Running project:

Setup a rendering engine

These steps are only for developing rendering-engine within the sandbox

  • Add rendering-engine source as a symlink to your rendering engine git repository under ./rendering folder.

ln -s absolute/path/to/your/git/repository/rendering/engine rendering

Notice: node_modules should be installed in your rendering engine repository.

  • Then you should setup renderingEngine node in your local sandbox config.

Exemple with tms-rendering-engine :

/* ./config/default.js */

// Application rendering engine
renderingEngine: {
  // Entry point of your
  entry: './shared/app/Tms/',
  // Rendering engine config
  config: './shared/app/Tms/config/components/TmsConfig',
  // Rendering engine components path
  // Allow developer to use RenderingEngineSrc alias to import components'
  src: './rendering/tms-rendering-engine/src',//It's your symlink
}
Key Definition Sample
entry Path to your code entry point ./shared/app/YourApplication
config Path to a React component use to re-hydrate the configuration between the server and the client side.
src Allow developer to use RenderingEngineSrc alias to import components. Path to the source code of your rendering engine. It may contents components, helpers or whatever you need to import in your application. Use RenderingEngineSrc instead of ./shared/rendering/your-rendering-engine/src when you import something in your application

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.