Skip to content

InteractWeb is a project that allows you to interact with a website from the real world using an Arduino or other physical devices. It enables you to perform actions on the website by pressing a physical button or triggering other input events.

License

Notifications You must be signed in to change notification settings

VetleHJ/InteractWeb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

InteractWeb

InteractWeb is a project that enables interaction between the physical world and a web application. It allows you to control and monitor the web application using physical devices connected to an Arduino.

Project Overview

The project consists of two main components:

  1. Backend: Built with Django, the backend handles the web application's logic, database management, and communication with the Arduino.

  2. Frontend: Built with Svelte, the frontend provides the user interface for interacting with the web application and displays real-time data from the Arduino.

Prerequisites

To set up and run the InteractWeb project, you'll need the following:

  • Python (version 3.6 or higher) installed on your machine.
  • Arduino board with the necessary components and sensors.
  • Basic knowledge of Django, Svelte, and web development.

Installation

Follow these steps to install and set up the project:

  1. Clone the repository:

    https://github.com/NCRT-DaZZle/InteractWeb
  2. Navigate to the project directory:

    cd InteractWeb
  3. Install the required Python packages. Assuming you have pip installed, run:

    pip install -r requirements.txt
  4. Set up the Django backend:

    • Migrate the database:

      python manage.py migrate
    • Create a superuser (optional):

      python manage.py createsuperuser
  5. Set up the Svelte frontend:

    • Navigate to the frontend directory:

      cd frontend
    • Install the dependencies:

      npm install
  6. Connect the Arduino to your machine and upload the Arduino code located in the arduino directory to your Arduino board.

Usage

To run the project, follow these steps:

  1. Start the Django backend server:

    python manage.py runserver
  2. Start the Svelte frontend development server:

    • Navigate to the frontend directory:

      cd frontend
    • Start the development server:

      npm run dev
  3. Access the web application by visiting http://localhost:5000 in your web browser.

  4. Interact with the physical devices connected to your Arduino, and observe the real-time data and functionality in the web application.

Contributing

Contributions are welcome! If you have any ideas, suggestions, or bug reports, please create an issue or submit a pull request.

License

This project is licensed under the MIT License.

About

InteractWeb is a project that allows you to interact with a website from the real world using an Arduino or other physical devices. It enables you to perform actions on the website by pressing a physical button or triggering other input events.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published