forbesmyester / esqlate-front

Build minimum viable admin panels quickly with just SQL

Home Page:https://github.com/forbesmyester/esqlate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

eSQLate Front

eSQLate Front provides a web interface for the eSQLate Projects API Server eSQLate Server.

Installation

First install and configure eSQLate Server.

Then you must set up the following environmental variables:

  • LISTEN_PORT - The port number you wish eSQLate Front to listen on.
  • API_SERVER - The HTTP root of the eSQLate Server. NOTE: should not include final /. It is probably something like http://localhost:8803.

Install the OS dependencies:

# The below is for Ubuntu / Debian but we really just need to serve files over HTTP.
sudo apt install parallel
npm install
npm run-script build
sudo apt install lighttpd
sudo systemctl disable lighttpd
lighttpd -f lighttpd.conf -D

As you can see there is nothing too weird there so feel free to use whatever HTTP/HTTPS server you wish.

Once this is complete you can visit http://localhost:[LISTEN_PORT]/ to use eSQLate.

Contributors

Thank you

  • @richrd - Support for showing results in Extended Display mode
  • @richrd - Support for displaying JSONB #1

Credits

  • Created using Svelte.
  • Some colors taken from base-16 and then mangled by me to make them worse different.
  • TDD framework from Tape.
  • The routing is via Flatiron Director.
  • Thank you Microsoft for joining the Open Source movement and giving us TyeScript
  • This is my fifth-ish Spectre CSS based project.

License

This project (all code in this repository) is listed under GPLv3 or later

About

Build minimum viable admin panels quickly with just SQL

https://github.com/forbesmyester/esqlate


Languages

Language:CSS 38.2%Language:TypeScript 29.6%Language:Svelte 16.7%Language:JavaScript 8.7%Language:SCSS 5.9%Language:HTML 0.6%Language:Dockerfile 0.2%