Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 1.67 KB

readme.md

File metadata and controls

38 lines (28 loc) · 1.67 KB

Polymer POC Environment

This is an basic containerized development setup consisting of:

  • Traefik (Modern HTTP reverse proxy)
  • Node.js (Javascript runtime)
  • ExpressJS (Server-side Node.js framework)
  • Helmet (help secure Express/Connect apps with various HTTP headers)
  • Polymer (Unlock the Power of Web Components)
  • Redux (Predictable state container for JavaScript apps)
  • Redux-Saga (An alternative side effect model for Redux apps)
  • Docker (Build, Ship, and Run Any App, Anywhere)

The setup is currently divided into 4 servers:

One Traefik Reverse Proxy and three Node.js servers for:

  • hosting polymer test pages
  • serving the bower_components
  • providing a simple rest api

Setting up the development environment:

The following steps are written with a MAC in mind so if this doesn't work on your machine, feel free to extend the readme with some steps for setting it up on a different environment.

  • Install docker:
    • Go to: docker.com
    • Download the installer and run it
  • Check if git is installed:
    • $> git --version
    • if not install: git

Starting the project:

  • Clone the repository: $> git clone https://github.com/gvand/polymer-test.git
  • Change to the project root directory: $> cd polymer-test
  • Run the project with docker: $> docker-compose up
  • open http://webpack.docker.localhost/