DocuAI System Status

This page confirms that your DocuAI backend is fully operational.

✅ Express Server

Running on port 5000

✅ Database

PostgreSQL connected

✅ Authentication

JWT system ready

✅ File Upload

Replit Object Storage

✅ APIs

All endpoints operational

⚠️ React Frontend

Vite plugin conflict

Backend Functionality Test

Test Authentication API Test Transactions API Test Storage API

Issue Summary

The React frontend won't mount due to the @replit/vite-plugin-runtime-error-modal plugin interfering with React's mounting process. This is a development environment issue only.

What's Working:

Temporary Solution:

The backend is fully functional and can be used via direct API calls. The React frontend issue is a Vite configuration problem that doesn't affect core functionality.

API Testing

You can test all backend functionality using curl commands:

# Test authentication
curl -X GET http://localhost:5000/api/auth/user

# Test transactions API  
curl -X GET http://localhost:5000/api/transactions

# Test storage status
curl -X GET http://localhost:5000/api/storage/status

# Test file upload (with API key)
curl -X POST http://localhost:5000/api/transactions/1/upload \
  -H "X-API-Key: docuai_demo_key_123" \
  -F "document=@test.pdf"