# Test Data Database - Quick Start

## Start Server
```bash
cd C:\Shares\TestDataDB
node server.js
```
Then open: http://localhost:3000

## Re-run Import (if needed)
```bash
cd C:\Shares\TestDataDB
rm database/testdata.db
node database/import.js
```
Takes ~30 minutes for 1M+ records.

## Database Stats
- **1,030,940 records** imported
- Date range: 1990 to Nov 2025
- Pass: 1,029,046 | Fail: 1,888

## API Endpoints
- `GET /api/search?serial=...&model=...&from=...&to=...&result=...`
- `GET /api/record/:id`
- `GET /api/datasheet/:id`
- `GET /api/stats`
- `GET /api/export?format=csv`

## Original Request
Search for serial numbers **176923-1 to 176923-26** for model **DSCA38-1793**
- Result: **NOT FOUND** - These devices haven't been tested yet
- Most recent serials for this model: 173672-x, 173681-x (Feb 2025)

## Files
- Database: `database/testdata.db`
- Server: `server.js`
- Import: `database/import.js`
- Web UI: `public/index.html`
- Full notes: `SESSION_NOTES.md`

