web
web copied to clipboard
Component for displaying data from API endpoints
It would be useful to have a dedicated Admin UI (eg. at localhost:8080/admin), similar to Django's admin site.
This page could contain links to existing types (eg. localhost:8080/admin/<type>) and provide an auto-generated interface for creating/list/get/edit/deleting items, or whichever actions are relevant for the specific type.
For instance, currently localhost:8080 has an interface that supports the following actions -
-
POST localhost:1317/<store>/<type> -
GET localhost:1317/<store>/<type>
Whereas we could also provide UI support for the following actions
-
GET localhost:1317/<store>/<type>/<id> -
PUT localhost:1317/<store>/<type> -
DELETE localhost:1317/<store>/<type>
This is a good idea. We do need a SPI component that lists all the data available through API endpoints and shows this data in a table. Sort of like Vuex dev tools.