Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/trickfilm400/express-utils-template
- Owner: Trickfilm400
- License: mit
- Created: 2022-10-29T22:01:55.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-02-20T05:58:24.000Z (9 months ago)
- Last Synced: 2024-02-20T06:39:15.270Z (9 months ago)
- Topics: docker, express, express-utils, node, nodejs, npm, utils
- Language: TypeScript
- Homepage:
- Size: 488 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
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)