Altes Projekt für's Studium
Simple web server which connects to a MySQL database to create a Dungeons and Dragons like character sheet.
First you need to load all required modules
# Using yarn
$ yarn
# Using npm
npm iNext you have to setup the database.
For that you need to tell the program the IP address of the database host if it is different than localhost.
You do this in src/index.ts.
export const db = new Database("your/database/IP")You also might need to change the login credentials in src/Database.ts
private readonly login: {user: string; password: string, host?: string} = {
password: "your-database-password",
user: "your-database-user"
}Last thing is to transpile the TypeScript files to JavaScript
tscThis program was created for study.