Sample CUBA project with non trivial model, which used as base for tests in @cuba-platform/front-generator.
This fork of Car Rent App provides examples of using GraphQL with CUBA App.
Main GraphQL endpoint
http://localhost:8080/app-portal/graphql
GraphiQL
http://localhost:8080/app-portal/graphiql
Generated Schema
http://localhost:8080/app-portal/graphql/schema
admin/admin
mechanic/1
manager/2
- Export data from table <TABLE_NAME>
sudo -u postgres pg_dump --table=<TABLE_NAME> --data-only --column-inserts scr
- Paste generated script to 30.create-db.sql
- Script will be executed when database will be created next time