feat(pbf): initial commit
This commit is contained in:
parent
43f89d9050
commit
6f5d50667f
|
@ -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
|
|
@ -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.')
|
||||||
|
}
|
|
@ -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"
|
||||||
|
},
|
||||||
|
}
|
Loading…
Reference in New Issue