https://github.com/kacperfaber/mithril-sql-presentation
🏫Interactive presentation I made as homework for school🏫
https://github.com/kacperfaber/mithril-sql-presentation
babel mithril mithriljs mysql php sql typescript webpack
Last synced: 2 months ago
JSON representation
🏫Interactive presentation I made as homework for school🏫
- Host: GitHub
- URL: https://github.com/kacperfaber/mithril-sql-presentation
- Owner: kacperfaber
- Created: 2023-02-19T10:22:32.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-09-26T08:59:35.000Z (over 2 years ago)
- Last Synced: 2025-03-23T01:35:20.342Z (over 1 year ago)
- Topics: babel, mithril, mithriljs, mysql, php, sql, typescript, webpack
- Language: TypeScript
- Homepage:
- Size: 221 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](#screenshots)
## Installation
First clone the repo.
```shell
git clone https://www.github.com/kacperfaber/mithril-sql-presentation && cd mithril-sql-presentation
```
## App configuration
Setup project
```shell
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.
```json5
// /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
```shell
npm run run
```
## Screenshots

## Author
Kacper Faber