codemonument / deno_audio_logbook

A deno fresh server, with a telegram bot to receive audio messages and a website to show all messages of a user in a calendar
2 stars 0 forks source link

Audio Logbook

A deno fresh server, with a telegram bot to receive audio messages and a website to show all messages of a user in a calendar.


Developer's Section

Usage

Start

Start the project:

deno task start

This will watch the project directory and restart as necessary.

Deploy to Preview

  1. Make changes in some branch
  2. Run deno task deploy-preview to push changes to the preview system
  3. Find the changes here: https://deno-audio-logbook-preview.deno.dev/auth/login

Note: This Preview system is mostly intendend to test stuff related to the telegram bot functions, because it has a second bot attached to it's url, named: audio_logbook_preview_bot

Connect to DB locally

Prerequisites:

Run:

deno task db-connect

> Secure connection to database jbscratch_planetscale-in-deno and branch main is established!.
> Local address to connect your application: 127.0.0.1:3306 (press ctrl-c to quit)

Now you can connect to localhost:3306 with user root and no password with any MySQL capable tool!

Useful Documentation Links

Infrastructure

.