GithubHelp home page GithubHelp logo

joetorsney / webui-workshop Goto Github PK

View Code? Open in Web Editor NEW

This project forked from graduta/webui-workshop

0.0 0.0 0.0 166 KB

WebUI - Workshop 2020: Frontend, Backend, Development Process

License: Other

JavaScript 86.69% HTML 7.50% CSS 5.81%

webui-workshop's Introduction

WebUI-Workshop 2020

Overview

The purpose of this repository is to provide training material and step by step instructions. The workshop will be split in 2 categories (Backend & Frontend) over the course of 2 days.

At the end of the workshop we would have successfully built a web project based on @aliceo2/web-ui.

Local Setup

NodeJS & NPM

NodeJS required version 14.
Downloading the package from nodejs website will install both NodeJS and NPM.

Check installation was successful:

  • node -v
  • npm -v

IDE

Install an editor of your choice. For this workshop, presenters will be using Visual Studio Code.

Build a project with WebUI - Framework

1. Intro

The next generation of AliceO2 applications will be built as web projects based on a common UI Framework @aliceo2/web-ui

All applications are built as SPAs (Single Page Applications). A single-page application is a web application or website that interacts with the web browser by dynamically rewriting the current web page with new data from the web server.

In order to do that, it was decided to make use of Hyperscript and its capabilities of building virtual nodes. MVC

2. Setting up the project template locally

  1. Clone the repository via HTTPS/SSH (https://github.com/graduta/webui-workshop)
  2. Go to the directory of the project: cd webui-workshop
  3. Create your own branch: git checkout -b <your-branch-name>
  4. Install the project dependencies via: npm ci
  5. Copy the configuration file: cp config-default.js config.js
  6. Run: node index.js

Now you should have a running HTTP server hosted on localhost:8080.

References

AliceO2/WebUI-Framework

webui-workshop's People

Contributors

graduta avatar josephtorsney avatar dependabot[bot] avatar joetorsney 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.