Skip to content

lostmypillow/jRAR

Repository files navigation

JRAR

What is it?

A school project. It demonstrates automotive IoT (sort of). This repo stores the Django backend and React frontend.

unnamed

React frontend

Demo website

API Docs

Backup API Docs (Loads slow!)

Demo video below

demo.mp4

How does it work?

  1. One swiped an RFID card against an RFID sensor connected to an Arduino.
  2. The Arduino send the card number to the Raspberrry Pi 400 via wired connection
  3. Pi 400 sends the data using a Python script to our Django (also Python) backend
  4. Backend checks card data against known numbers in database, which one can add via the React frontend
  5. Backend sends "ok" or "not authorized" signal to RPi
  6. RPi sends 0 or 9 to Arduino
  7. Arduino flashes light differently based on the number it recieves. (couldn't get this part right tho) image

Tech Stack

  • Django Ninja API endpoints
  • SQLite database
  • Vite(React) frontend x MUI components