SPA Integration

Table of Contents

1. Background

2. Tools

verified · pilot-annotation-pass · 2026-10-09

3. Process

  1. Provide explicit notes on the exact HTTP expectations
  2. Provide notes on the routing expected from the application server
  3. Provide a single case of the request without and existing state
  4. Whitelist the route mapping through the proxy server
  5. Disable any mock front-end API
  6. Establish monitoring to go with #1

4. Integration

corrected · pilot-annotation-pass · 2026-10-09
  • Rails provides some core functionality
  • Rails routes can be scoped under api, but only if added manually in routes.rb; Rails' API-only mode just trims middleware and swaps the controller base class
  • Node provides a place for live loading files
  • Node provides a build infrastructure for creating a single main.js

4.2. Testing

  • Name, Size (compressed), Size (uncompressed), Expires

5. Related