feat(pbf): initial commit

This commit is contained in:
dancingCycle 2022-05-26 07:06:26 +02:00
parent 43f89d9050
commit 6f5d50667f
3 changed files with 48 additions and 0 deletions

21
pbf/README.md Normal file
View File

@ -0,0 +1,21 @@
## Overview
tbc
## Preparation
Run the following command in your favorite terminal to install dependenies.
```
npm i
```
## Development setup
Run the following command if you fancy log messages for debugging.
```
export DEBUG=$DEBUG,debug,pbf
```
Run the following command to start the service in development mode.
```
npm run dev
```
## Production deployment
tbc

11
pbf/index.js Normal file
View File

@ -0,0 +1,11 @@
const debug=require('debug')('pbf');
run().catch(err => {
debug('run: error')
console.log(err)
});
async function run() {
debug('run started...')
debug('run done.')
}

16
pbf/package.json Normal file
View File

@ -0,0 +1,16 @@
{
"private":true,
"name": "pbf",
"version": "0.0.1",
"description": "",
"main": "index.js",
"scripts": {
"dev": "nodemon index.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Stefan Begerad",
"license": "GPL-3.0",
"devDependencies": {
"nodemon": "^2.0.7"
},
}