Deploy the Learning Server (Backend)

This module is your backend deployment run.

By the end, you should have a reachable backend URL that you can reuse in the frontend exercise.

If you want a token refresher before you begin, see Create token.

Note In this exercise, the backend environment is provisioned for you and the demo Node.js backend is built automatically in Codespaces. If you want to run it locally instead, use Server Essentials.

While running the exercise

  1. Start the JavaScript coding exercise.

  2. Wait for Codespace provisioning to complete.

  3. Follow the guided terminal steps.

  4. Copy and keep the backend URL shown by the exercise.

  5. Keep this in mind while validating the backend response:

    The handler returns the Application ID, Session ID, and token back to the browser so it can initialize the SDK.

  6. Verify /session returns:

    • applicationId
    • sessionId
    • token

Done criteria

  • Backend URL saved.
  • Verification step completed.
  • No missing-credentials startup errors.

Production note

Keep credentials and private keys on the server only. Token generation stays backend-side.
For the full security model, see the Video API security guide.