Show how we can make editable tables with HTML, CSS and JavaScript.
This is a work in progress but for now ...
This project contains lots of plain HTML, CSS and JavaScript examples of how we can work with editable HTML tables. We also have a FastAPI app
- to make it easy to serve the static examples locally
- show how we can make calls to a back-end API
- via github pages
- Everything except the API call demo works via github pages
miniconda is great (o:
change directory to where you would like the repo to live on your machine
git clone https://github.com/pete88b/html_editable_table.git
cd html_editable_table
conda env create -f environment.yaml
windows
SET X_API_KEYS=['test']
uvicorn app:app --reload
linux
export X_API_KEYS=['test']
uvicorn app:app --reload
Hit the index page and try it out. Feel free to edit the project files- FastAPI reloads pretty fast so you should just need to reload your browser to see changes.
Note: API docs are available at the docs page
app.py
creates the app by calling create_app
from the main
module.