Skip to content

Instantly share code, notes, and snippets.

Avatar
👋

Jens-Christian Bjerkek bjerkek

👋
View GitHub Profile
@bjerkek
bjerkek / header-podlet-2.js
Created May 6, 2021
Learning Podium - Header podlet - 2
View header-podlet-2.js
const express = require('express');
const Podlet = require('@podium/podlet');
const app = express();
const domain = 'http://localhost';
const port = '7100';
const url = `${domain}:${port}`;
const podlet = new Podlet({
@bjerkek
bjerkek / header.js
Created May 6, 2021
Learning Podium - Header Web Component
View header.js
const template = document.createElement('template');
template.innerHTML = `
<style>
:host {
all: initial;
display: inline-block;
}
</style>
<header>
<nav>
@bjerkek
bjerkek / feedback-podlet-2.js
Last active May 4, 2021
Learning Podium - Feedback Podlet - 2
View feedback-podlet-2.js
const express = require('express');
const Podlet = require('@podium/podlet');
const utils = require('@podium/utils');
const fs = require('fs');
const app = express();
const domain = 'http://localhost';
const port = '7200';
const url = `${domain}:${port}`;
@bjerkek
bjerkek / loans-layout-4.js
Created May 4, 2021
Learning Podium - Loans Layout - 4
View loans-layout-4.js
const express = require('express');
const Layout = require('@podium/layout');
const utils = require('@podium/utils');
const app = express();
const domain = 'http://localhost';
const port = '7000';
const url = `${domain}:${port}`;
@bjerkek
bjerkek / my-loans-podlet-3.js
Created May 4, 2021
Learning Podium - My loans podlet 3
View my-loans-podlet-3.js
const express = require('express');
const Podlet = require('@podium/podlet');
const utils = require('@podium/utils');
const fs = require('fs');
const app = express();
const domain = 'http://localhost';
const port = '7300';
const url = `${domain}:${port}`;
@bjerkek
bjerkek / my-loans-podlet-2.js
Created May 4, 2021
Learning Podium - My loans podlet 2
View my-loans-podlet-2.js
const express = require('express');
const Podlet = require('@podium/podlet');
const fs = require('fs');
const app = express();
const domain = 'http://localhost';
const port = '7300';
const url = `${domain}:${port}`;
@bjerkek
bjerkek / loans-layout-3.js
Created May 4, 2021
Learning Podium - Loans Layout - 3
View loans-layout-3.js
const express = require('express');
const Layout = require('@podium/layout');
const app = express();
const domain = 'http://localhost';
const port = '7000';
const url = `${domain}:${port}`;
const layout = new Layout({
@bjerkek
bjerkek / my-loans-podlet-1.js
Last active May 4, 2021
Learning Podium - My loans podlet 1
View my-loans-podlet-1.js
const express = require('express');
const Podlet = require('@podium/podlet');
const app = express();
const domain = 'http://localhost';
const port = '7300';
const url = `${domain}:${port}`;
const podlet = new Podlet({
@bjerkek
bjerkek / loans-layout-2.js
Last active May 4, 2021
Learning Podium - Loans Layout - 2
View loans-layout-2.js
const express = require('express');
const Layout = require('@podium/layout');
const app = express();
const domain = 'http://localhost';
const port = '7000';
const url = `${domain}:${port}`;
const layout = new Layout({
@bjerkek
bjerkek / feedback-podlet-1.js
Last active May 4, 2021
Learning Podium - Feedback Podlet - 1
View feedback-podlet-1.js
const express = require('express');
const Podlet = require('@podium/podlet');
const app = express();
const domain = 'http://localhost';
const port = '7200';
const url = `${domain}:${port}`;
const podlet = new Podlet({