pagito / esi-include

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inject content/widget/component into application using ESI inlcude

Requirements

  • Python3
  • Node

Run customer app

Simple html css page

$ cd customer
$ python -m http.server 8000

OR

Laravel App will run on port 8000

$ cd customerApp
$ composer install
$ npm install
$ npm run dev
$ php artisan serve

Run server with components

$ cd components

Simple HTTP Server

$ python -m http.server 8050

OR

Simple HTTP Server with CORS enabled, will run on port 8050

$ python simple-cors-http-server.py

Run proxy server

$ cd proxy
$ npm install
$ node server.js

Open

http://localhost:3000/

About


Languages

Language:PHP 87.5%Language:Blade 7.2%Language:HTML 2.0%Language:CSS 1.3%Language:Shell 0.7%Language:JavaScript 0.7%Language:Python 0.4%Language:Vue 0.2%