This directory contains mock-sis, a mock implementation of an EduAPI Producer for the EduAPI Async Proof of Concept. It streams SIS (Student Information System) data over gRPC to demonstrate async data delivery to Consumers.
- Acts as a Producer in the EduAPI async PoC
- Streams Person and Course events over gRPC
- Provides a test data source for Consumer implementations (see
consumers/) - Available as a web application and/ or a console cli app.
- Node.js (v18+ recommended)
-
Install dependencies:
npm install
-
Build the project:
npm run build
Start the mock-sis Producer
npm startFor development with live TypeScript reload:
npm run devAlernatively, you can run as a web version of the mock SIS for more interactive demos.
npm run web- This starts both the gRPC server (for consumers) and the web server (for your browser) in a single process.
- The web UI will be available at http://localhost:3000.
- No credentials are required.
- Large dashboard for live demos
- Add Students and Courses with a single click
- See real-time counts and lists of all demo data
- Clear all data instantly
- Connect your own remote systems as consumers to see real-time updates
- The gRPC server is available on port 50051 for remote consumers
- The web UI is ideal for showing non-technical stakeholders how async updates work
- Generates and streams mock Person and Course data
- Supports commands for adding, editing, and clearing data
- All data is generated with realistic mock values
- Data is stored in a local SQLite file (
mock-sis.db) - The schema is based on the EduAPI JSON Schemas for Person and Course
- Intended for development and demonstration only
For more about the project and the async PoC, see the main README.