Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/trickfilm400/express-utils-template

example repo for how to use https://github.com/Kopf02/express-utils
https://github.com/trickfilm400/express-utils-template

docker express express-utils node nodejs npm utils

Last synced: 2 days ago
JSON representation

example repo for how to use https://github.com/Kopf02/express-utils

Awesome Lists containing this project

README

        

# express-utils-example

This is an example repo for how to se the [express-utils](https://github.com/Kopf02/express-utils) package by [kopf02](https://github.com/kopf02).

# Available ENV Variables
| ENV | default | available options | description |
|----------------|----------------|---------------------------------------------|-----------------------------------------------------|
| LOGLEVEL | `info` | ['error', 'warn', 'info', 'debug', 'silly'] | The Loglevel for the winston logger in the console |
| NODE_ENV | `development` | ['production', 'development', 'test'] | Node Environment for different App behaviour |
| PORT | `8080` | any port number | The Port the express server to listen to |
| DB_HOST | `localhost` | any FQDN | Database Host |
| DB_PORT | 3306 / 27017 | any port number | Database Port |
| DB_DB | _dynamic_ | any string | Database Database |
| DB_USER | _dynamic_ | any string | Database Login User |
| DB_PASSWD | _empty string_ | any password string | Database Login Password |
| REDIS_HOST | `127.0.0.1` | any FQDN | Redis Host |
| REDIS_PORT | `6379` | any port numbers | Redis Port |
| REDIS_PASSWORD | `127.0.0.1` | any password string | Redis Passwort |
| REDIS_INDEX | `0` | 0-9 | Redis Database Index for selecting one of redis' DB |
| RABBIT_HOST | `127.0.0.1` | any FQDN | RabbitMQ Host |
| RABBIT_PORT | `5672` | any port numbers | RabbitMQ Port |

# Todo
- [ ] Write better readme

© 2022-2024 - [Trickfilm400](https://github.com/trickfilm400)