Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 562 Bytes

File metadata and controls

26 lines (21 loc) · 562 Bytes

Deno API - Template.

Features

  • MySQL CE 8.0
  • OneLine JSON based logging.
  • Main --> Router --> Routes --> Controller --> Lib | Modulair system
  • Middlewares

Important

When working on the API and especially when formatting. Set the terminal to be in /api else the deno config gets ignored.

Example .env

MYSQL_ROOT_PASSWORD="example"
MYSQL_USER="example"
MYSQL_PASSWORD="example"
MYSQL_DATABASE="example"
LOG_DIR="logs"
KEEP_LOG_DAYS=7
LOG_TO_TERMINAL=true
EMAIL="example@example.com
EMAIL_PASSWORD="example"