Simple Twitch log app on JavaScript
-
Install dependencies
pnpm install -
Copy
.env.examplecontent, create.envfile and use your variable values -
Push schema to your db
pnpx prisma db push -
Generate Prisma client
pnpx prisma generate -
Run your app
pnpm start
# Environment variables declared in this file are automatically made available to Prisma.
# See the documentation for more detail: https://pris.ly/d/prisma-schema#using-environment-variables
# Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server (Preview) and MongoDB (Preview).
# See the documentation for all the connection string options: https://pris.ly/d/connection-strings
DATABASE_URL="mysql://my_cool_username:supersafepassword007@localhost:3306/logs"
# Channels are splitted by "," (without spaces)
CHANNELS="forsen,pajlada,nymn"Licensed under GPL-3.0