Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ungtb10d/balena-nodejs-hello-world
https://github.com/ungtb10d/balena-nodejs-hello-world
Last synced: 13 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ungtb10d/balena-nodejs-hello-world
- Owner: ungtb10d
- Created: 2022-12-29T00:14:47.000Z (about 2 years ago)
- Default Branch: LucianBuzzo-patch-1-1
- Last Pushed: 2022-12-29T00:14:57.000Z (about 2 years ago)
- Last Synced: 2024-11-12T03:24:02.737Z (2 months ago)
- Language: HTML
- Size: 486 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
## A Simple Server with Node.js Express
This is a simple skeleton Express server project that works on any of the [balena][balena-link] supported devices.
This project serves up `"Hello World!"` on port `:80` of your balena device.
To get this project up and running, you will need to signup for a balena account [here][signup-page] and set up an application and device. You'll find full details in our [Getting Started tutorial][gettingStarted-link].
Once you have downloaded this project, you can `balena push` it using the [balenaCLI][balena-cli]. This command will package up and push the code to the balena builders, where it will be compiled and built and deployed to every device in the application fleet. When it completes, you'll have a node.js web server running on your device and see some logs on your [balenaCloud dashboard][balena-dashboard].
To give your device a public URL, access the device page on the [balenaCloud dashboard][balena-dashboard], and choose the _Public Device URL_ toggle. Alternatively, you can point your browser to your device's IP address.
[balena-link]:https://balena.io/
[signup-page]:https://dashboard.balena-cloud.com/signup
[gettingStarted-link]:http://balena.io/docs/learn/getting-started/
[balena-cli]:https://www.balena.io/docs/reference/cli/
[balena-dashboard]:https://dashboard.balena-cloud.com/