Skip to content
No description, website, or topics provided.
JavaScript C# HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
backend
frontend
.gitignore
README.md

README.md

HTML Device Orientation API & ASP.NET Core SignalR 👋

Twitter: FabianGosebrink

This demo project shows how to use plain Javascript and HTML to broadcast the mobile device orientation using the HTMLs device orientation API.

Install

Start the backend with dotnet run after installing the dotnet cli get it here

For the frontend do:

npm install

Usage

start the backend at the console with dotnet run and start the frontend with an npm start. Now you can move your laptop or device to see the picture moving. If you upload it to a webserver you can see taht ASP.NET Core SignalR is broadcasting the movements to other devices.

Author

👤 Fabian Gosebrink

Show your support

Give a ⭐️ if this project helped you!


This README was generated with ❤️ by readme-md-generator

You can’t perform that action at this time.