Print Tracker is a full-stack application for tracking print jobs in architecture studios. It includes:
- Server – Express API and React client served from the same Node process
- Client – React frontend built with Vite
- Print Monitor – Windows utility that validates print jobs and logs them to the API
- Node.js 18+
- PostgreSQL database
- .NET Framework for building the Windows utility
- Install dependencies:
npm install
- Copy
.env.example
to.env
and fill in the values:cp .env.example .env
DATABASE_URL
– connection string for your Postgres databasePORT
– port for the API and client (defaults to5000
)
- Push the database schema with Drizzle:
npm run db:push
- Start the application in development mode:
The server and client will be available at
npm run dev
http://localhost:PORT
.
For production, build and start:
npm run build
npm start
The print-monitor
folder contains a Windows application that validates print jobs and sends log data to the server. Configure the API URL via the PRINTTRACK_API_URL
environment variable (defaults to http://localhost:5000
).
Build the utility with Visual Studio or the csc
command:
csc PrintMonitor.cs
A basic test suite is included using Vitest. Run all tests with:
npm test