A Next Js website to control & visualize data from an IoT device.
Explore the docs »
Device Code
·
Report Bug
·
Request Feature
An IoT device that publishes sensory data to AWS IoT core over WiFi. The data is then routed using the Rules Engine to a DynamoDB database. A Next.Js website acts as an MQTT client to subscribe to the events sent by the device to visualize it & control the device.
First, run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/index.tsx
. The page auto-updates as you edit the file.
API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.ts
.
The pages/api
directory is mapped to /api/*
. Files in this directory are treated as API routes instead of React pages.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Charaf Mrah - LinkedIn - @charafmrah - charaf4charaf@gmail.com