Presentation I made as homework for school about SQL.
Introducing interactive console where we can execute real SQL queries.
Besides it's my first ❤ mithril project
First clone the repo.
git clone https://www.github.com/kacperfaber/mithril-sql-presentation && cd mithril-sql-presentation
Setup project
npm ci
You need API when you want to enable interactive SQL console.
API is included in the /api directory.
You don't have to enable API unless you don't want to use interactive console.
Place this file with api.php in the same directory.
// /api-settings.json
// Place this file at the same directory, where api.php is located
{
"username": "string",
"password": "string",
"port": "number",
"host": "string",
"temp_db_name": "string",
// URL when app is running.
// For example http://localhost:3000
"cors": "string"
}
npm run run
Kacper Faber