This project is the accompanying code to an article here:
medium.com/realtime-interfaces-and-physical-spaces-with-websockets-next-js-and-iot-e4a89d8febed
The article is about a project that combines various technologies and concepts to create a physical user experience using Gravio, an IoT Edge platform and a custom Next.js (a React.js framework) setup, with WebSockets and HTTP APIs.
This Next.js project was bootstrapped with create-next-app
.
After cloning or downloading this repo...
Install the dependencies:
npm install
Then run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result, and see the article (or code) on how this project works with Gravio.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.