Skip to content

zNitche/piScanUI

Repository files navigation

piScanUI

Web UI for piScan system.


Technologies

  • React 18.2
  • Vite 5.1.4
  • Typescript 5.2.2
  • wouter 3.0.1
  • nginx

Features

  • Scanning devices (scanners / printers) management
  • Inifinite scroll for files preview + search support
  • Starting + monitoring scanning processes
  • Integrated with eslint and prettier

Setup

Dev

  1. Create .env file
cp .env.template .env
  1. Set VITE_API_URL to API url, for example
http://127.0.0.1:8000/api
  1. Install dependencies
npm i
  1. Start dev server
npm run dev

Production

  1. Create .env file
cp .env.template .env
  1. Set VITE_API_URL to API url, for example
http://127.0.0.1:8000/api
  1. Build docker image
docker compose build
  1. Serve app via nginx
docker compose up -d