TheTechCompany / HexHive

HexHive Systems - The digital workspace for the future
https://docs.hexhive.io
GNU General Public License v3.0
5 stars 2 forks source link

Local Gateway #62

Open balbatross opened 2 years ago

balbatross commented 2 years ago

A local instance is the ideal development flow for HexHive and fits the bill for decentralization at a later date.

The core components of an instance Gateway: Handles auth, Federates GraphQL, Handles integrations Frontend: Microfrontend setup that handles routing and bootstrapping

Local Gateway Usage

npm i -g @hexhive/dev-server

hex-dev --config ./applications.json

applications.json

{
  applications: [
    {
      graph: "/graphql",
      route: "/app1",
      app: "/remoteEntry.js"
    }
  ]
}
balbatross commented 2 years ago

The default route "/" provides a very basic dashboard, I think we should build out the majority of dev features there but I'm interested to hear thoughts on organizing the react build @lakshaysethi

balbatross commented 2 years ago

Just need to create a flexible db dependency and then it'll be ready. 0.0.6-alpha.34 is ready for testing with a neo4j system in place