Proje
happs_boilerplate
- Nasıl çalıştırılır
- kaydedilmedi
- Holochain sürümü
- 0.0.42-alpha5
- Etkinlik
- durgun
- Kontrol edildi
- 27 Ekim 2026
What is happs_boilerplate and what is it for?
happs_boilerplate is a development template for a Holochain app: it pairs a Holochain application DNA with a TypeScript web client that reaches the app through a GraphQL Apollo server. It exists to give developers a working starting point for that client-and-server arrangement, so a new project does not have to assemble it from scratch.
happs_boilerplate is a scaffold for building a Holochain app, described in the repository as a boilerplate with a GraphQL Apollo client-server model written in TypeScript. Its README states that the data layer follows the Apollo GraphQL tutorial, and the repository ships an application DNA alongside a web interface and a GraphQL server. It is a starting point for developers rather than an application people use directly.
In practice the template shows one way to put GraphQL between a user interface and a Holochain instance. A small GraphQL server runs alongside each Holochain node, and the browser interface sends its queries and mutations to that server instead of talking to the node itself. The README's own run sequence starts one Holochain node and one GraphQL server per person, which is how its example works.
The README documents running two agents locally, Alice and Bob, each with its own interface page and its own GraphQL endpoint for trying queries and mutations. The setup it describes uses the sim2h server and Apollo Engine keys typical of the project's period, and the repository has not been pushed to since early 2023, so it reads best as a historical example rather than a currently maintained stack. The repository README is the place to learn more.
Nasıl edinilir
Tarayıcıda
- Clone the repository from https://github.com/sdelvalle57/happs_boilerplate.
- In ui/client and separately in ui/server, run npm install.
- Create a .env file in both the client and the server and set ENGINE_API_KEY, following the Apollo tutorial's production step.
- Set the service name in each folder's apollo.config.js to the service you registered.
- In ui/client, run npm run codegen to build the TypeScript objects.
- Inside a nix-shell, from the dna directory, run hc test or hc package.
- Start sim2h_server in a nix-shell, then from ui/client run npm run start:holochain, which starts two agents (Alice, Bob).
- In another terminal run npm run start:apollo-server to start two GraphQL server instances (Alice, Bob).
- Run npm run start:ui and open http://localhost:8080 for Alice and http://localhost:8081 for Bob; the GraphQL endpoints are at http://localhost:4000 and http://localhost:4001.
- Caveat: these are the repository's own documented steps. They reference the sim2h server and Apollo Engine keys of the project's period, and the repository has not been pushed to since early 2023, so they are a historical record rather than a statement that the stack installs or runs safely today.
İnsanların sorduğu sorular
- How do you run happs_boilerplate?
- The README documents installing the client and server with npm, setting an Apollo Engine key and service name, building the DNA with hc test or hc package inside a nix-shell, then starting the sim2h server, the Holochain nodes, the GraphQL servers and the interface. Those steps describe the tooling of the project's own period rather than current compatibility. kaynak
- Is happs_boilerplate still maintained?
- The repository's most recent push is dated January 2023 and no release is recorded for it, and the catalog lists its activity as stalled. The repository does not establish compatibility with later Holochain versions. kaynak
1 herkese açık kaynaktan derlendi; son kontrol: 23 Eylül 2026.
Deneyin: happs_boilerplate
- GitHub'daki kodGitHub'da aç ↗Last change 6 Ocak 2023.
- SürümKayıtlı GitHub sürümü yok.
- Projenin kendi dosyaları nasıl çalıştırıldığını belirtmiyor.
Ayrıntılar ve kaynaklar
Kanıt
- Son değişiklik
- api.github.com/repos/sdelvalle57/happs_boilerplateüçüncü bir tarafça listelenmiş · 20 Ekim 2026 tarihinden beri görülüyor · github.repository@1
- Etkinlik
- api.github.com/repos/sdelvalle57/happs_boilerplateüçüncü bir tarafça listelenmiş · 20 Ekim 2026 tarihinden beri görülüyor · liveness@1
Uyumluluk
- hdk
- 0.0.42-alpha5 · dna/zomes/create_multisig/code/Cargo.toml @ d6103cf
- hdi
- —
- holochain-client
- —
- happ.yaml
- yok
- web-happ.yaml
- yok