Introduction
An Express-based website that serves an HCS-api and landing page, and some data. It connects to the Hedera Hashgraph network via hash-sdk.
Built with
- Hedera Hashgraph - The enterprise-grade public network
- Hash-SDK - The easiest way to use Hedera in JavaScript
- Express.js - A fast, unopinionated web framework for node.js
- Launched on Glitch - instantly create, remix, edit, and host an app, bot or site
Questions & contributions
If you have any questions or feedback on how we can improve this demo, reach out to us or post a question/option on our forum.
Prerequisites
This demo assumes that you have an account on the Hedera testnet. For example:
ACCOUNT_ID=0.0.123456789
PRIVATE_KEY=302e020100300506032b657004220420f4361ec73dc43e568f1620a7b7ecb7330790b8a1c7620f1ce353aa1de4f0eaa6
If you don’t have one, sign up using Composer. You can follow this quick tutorial to get started.
hello-express
A server that serves a webpage, its resources, and some data
Your Project
On the front-end,
- Edit
views/index.html
to change the content of the webpage public/client.js
is the javacript that runs when you load the webpagepublic/style.css
is the styles forviews/index.html
- Drag in
assets
, like images or music, to add them to your project
On the back-end,
- your app starts at
server.js
- add frameworks and packages in
package.json
- safely store app secrets in
.env
(nobody can see this but you and people you invite)
Click Show
in the header to see your app live. Updates to your code will instantly deploy.
Glitch
Made byGlitch is the friendly community where you'll build the app of your dreams. Glitch lets you instantly create, remix, edit, and host an app, bot or site, and you can invite collaborators or helpers to simultaneously edit code with you.
Find out more about Glitch.
( ᵔ ᴥ ᵔ )
Disclaimer
This is just a simple demo. Please use responsibly.
Contact us if you need anything.