@beepsoft/hamster
v0.1.1
Published
MST-GQL based admin fronted components for Hasura backends
Downloads
1
Readme
WIP - don't use it yet
HaMSTer
MST-GQL based admin fronted components for Hasura backends. The aim of this library to make it easier to create admin interfaces for a Hasura service for which an mst-gql models have been generated based on the graphql schema.
Most of the work that needs to be done around HaMSTer is configuring the EntityModel for the mst-gql generated models. An EntityModel defines how an entity is listed, edited, created and its details displayed. Although it is "configuration" it allows redefining most of the aspects of the UI and so it can really look like programming, and it is.
Project created using
npx create-react-native-library hamster
Installation
TBA
Usage
TBA
Development
Use yarn watch
(or yarn watch-full
) to automatically build and copy changes to the hamster-todo
test project.
To make build faster when typescript definitions don't change, replace typescript
with typescriptx
. This will disable tsc
. For example when doing lot of small fixes, styling, etc, it is 10-15 seconds faster, around 1-2 secs.
Don't forget to put back "typescript" at the end!!!_
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
"module",
[
"typescript", <--- remove or replace this
{
"project": "tsconfig.build.json"
}
]
]
}
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT