zendro-dev / zendrostarterpack Goto Github PK
View Code? Open in Web Editor NEWAll you need to start your implementation of Zendro
License: MIT License
All you need to start your implementation of Zendro
License: MIT License
Since MacOS Monterey there is a feature called "Airplay receiver" that uses the port 7000.
We need to change giql's port.
This issue affects at least five sub-projects. The skeleton projects, the code-generators, and this Starter-Pack.
In the affected projects merge all feature branches, that belong into stable, into master.
Then, tag this version as 0.1.0
and latest-stable
. The latter is somewhat questionable according to semantic versioning.
git tag -fa '0.1.0' -m 'Current stable and first alpha version. Yeah!'
git tag -fa 'latest-stable' -m 'Current stable and first alpha version. Yeah!'
Especially in the Sandbox adjust the git clone
commands to the above latest-stable
tag. Use latest-stable
instead of 0.1.0
to implement inherent usage of the latest stable version in the future when possibly new versions are tagged as latest stable.
Check the skeleton and code generator projects, especially the integration tests. Maybe the adjustment to using "latest stable" needs to be done there, too. If so, implement it, please.
Create a new branch of the StarterPack called exactly as the React.js branches in the projects
are called.
Within this new branch adjust the docker-compose files:
So they work with the new React interface. Update the Readme also!
This should prepare the soon to be made merge into master.
The user, role and role_to_users models definitions are not needed anymore by graphql-server and spa code-generators, now are generated without these model definitions. This models definitions can be removed from StarterPack setup.
Tasks:
ScienceDbStarterPack is out of date. The master branch needs to be updated to have latest Dockerfiles and up-to-date documentation.
Use the Dockerfiles and project structure of the branch BreedPatH-DB
to bring master up to date.
Make one crucial difference to BreedPatH-DB
in using git submodules
to manage the single-page-application
and graphql-server
sub-projects in the Starter-Pack. This gives us the opportunity to easily update an existing installation of ScienceDB to latest changes in the master branches of the above two projects.
To access the seeder for default-sql, we need first create a folder for that.
Hi there,
Thanks for this awesome project :)
Just a few things that I've found using https://github.com/Zendro-dev/ZendroStarterPack
Useful but not too dramatic that repo https://github.com/Zendro-dev/graphql-server had an .env
in its root.
Remove .gitkeep
in https://github.com/Zendro-dev/ZendroStarterPack/tree/master/data_model_definitions as this produces errors when executing graphql-server-model-codegen
Change number 3 in https://github.com/Zendro-dev/Zendro-dev.github.io/blob/master/setup_data_scheme.md as for Data Model Definition for table B we need a many to many relation:
Data Model Definition for table B:
{
"model": "department",
"storageType": "mongodb",
"attributes": {
"department_id": "String",
"department_name": "String",
"employee_ids": "[String]"
},
"associations": {
"employees": {
"type": "many_to_many", ####change one_to_many to many_to_many
"implementation": "foreignkeys",
"reverseAssociation": "departments",
"target": "employee",
"targetKey": "department_ids",
"sourceKey": "employee_ids",
"keysIn": "department",
"targetStorageType": "mongodb"
}
},
"internalId": "department_id",
"id": {
"name": "department_id",
"type": "String"
},
"useDataLoader": false
}
Make the StarterPack use the latest-stable
tags of all integrated sub-projects.
Instead of using git submodules, write a simple setup.sh
script that uses either wget
or curl
to fetch the latest-stable
of the respective submodules, which are the skeleton projects.
If not too much work, replace all occurrences of sciencedb
and sdb
with zendro
.
In the docker-compose files the following containers should exist:
Several issues have to be taken care of.
ports:
, because this is a security loophole. But leave the environment PORT=<number>
in.docker exec
commands.backend
network for the postgres and graphql server, if not already in thereHave a look at how the single-page-app is compiled and made available as a static page through a simple nginx server. Make sure this works again and all environment variables are correctly passed to the now static SPA. Possibly this has to be set during compilation time?
This issue should simplify the usage of the StarterPack greatly. Reflect that in updating the Readme accordingly.
The two code generators used for the GraphQL server and for the single page application have integration test suites that use Docker to run the tests.
The respective Docker files are more up to date than those within this Starter-Pack. Please update the files accordingly.
Using the data model definitions created for the Teosinte project create a working instance of ScienceDb using the ScienceDbStarterPack
.
Create a new branch of this project called Teosinte
.
Once you have valid and working data model definitions, put the respective JSON
files into the ./data_model_definitions
folder. Delete all not needed model definitions. Leave User and Role data models.
Subsequently follow the instructions as given in the README
.
Try the ScienceDb instance in the browser using the following URLs:
Report bugs and problems encountered.
See zendro#16
This is an issue both for the master branch of the SPA and the StarterPack. We have updated the user roles with Issue #57. However the current setup of the StarterPack still expects the role admin
(not administrator
) and thus does not even enable the user to see any data model in the SPA. Please fix.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.