kacperfaber / mithril-sql-presentation

🏫Interactive presentation I made as homework for school🏫

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mithril-sql-presentation

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

See screenshots

See screenshots

Installation

First clone the repo.

git clone https://www.github.com/kacperfaber/mithril-sql-presentation && cd mithril-sql-presentation

App configuration

Setup project

npm ci

Server configuration

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.

api-settings.json

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" 
}

Everything is done. The last step is to connect with API in application. Click the settings button.

Run app locally

npm run run

Screenshots

Author

Kacper Faber

About

🏫Interactive presentation I made as homework for school🏫


Languages

Language:TypeScript 85.6%Language:PHP 9.5%Language:CSS 2.1%Language:JavaScript 1.6%Language:HTML 1.2%