Skip to content
This repository has been archived by the owner on Jun 24, 2023. It is now read-only.

Latest commit

 

History

History
40 lines (26 loc) · 503 Bytes

README.md

File metadata and controls

40 lines (26 loc) · 503 Bytes

USB Stick Module

This web server component provides a web interface to simple USB stick operations.

Install Requisite Software

yarn install

Run Tests

yarn test

Start the Server

yarn start

API Documentation

This scanner module provides the following API:

  • GET /usbstick/status -- returns whether a USB stick is present or not:
{present: true}
  • POST /usbstick/eject -- ejects a USB stick if present
{success: true}

Architecture