GithubHelp home page GithubHelp logo

wicm's Introduction

WICM

WICM stands for Web Interface for Container Management. Its primary goal is to expose a web interface for container management using docker as backend for application service creation. There are other tools known for this kind of task. This is an experimental project that aims to use IaC tools and to cover common aspects of web application development.

You can get an overview here.

Web tier

This project was made using Node.js + Express.js for server side rendering. Webpack bundles all server code (views, styles, and modules) in a single file.

  • This app makes uses of Prisma ORM for persiting user data.
  • All session data are memory-based.
  • Twig.js is used as a template engine

Client tier

Webpack exposes a global variable called "app" that can be acessed throughout the views. It acts as a single point for calling functions in the client side. You can view client code is located here. This projects makes use of TailwindCSS as an utility library for creating richer interfaces.

Cluster orchestration

Docker swarm does all the job in scheduling,updating and removing services. The REST API is responsible for authentication and authorization as well as cluster management through the remote docker daemon socket.

The configuration as described here consists of 3 worker nodes and 1 master.

Routing and Load Balancing

Traefik is used as primary API Gateway to route traffic in addition to load balancing. Docker Swarm offers autoscaling of tasks across the workers.

You can install dependencies using

npm install

To build this project

npm run build

or

yarn build

To run this application:

npm run watch

You need to configure a session secret in the .env file before running this app

SESSION_SECRET=
BASE_URL=
API_URL=
SECRET=

Configure the API_URL as an URL that points to the running project WICM-API.

References

wicm's People

Contributors

rmvs avatar

Watchers

 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.