Skip to content
  • There are no suggestions because the search field is empty.

Running a back-end server

Start a server in live interviews

You can run a back-end server as part of an interview when you need a server that your code can make GET and POST requests to, or when you want a server that runs behind the scenes and is fully controlled by you without being visible to the candidate.

Set Up Your Back-End Server

To run a back-end server, first navigate to your Custom Library in the main navigation bar and select Interviews.

interview oading

Next, click New interview question > Multi-file question

CleanShot 2026-01-29 at 16.51.21@2x

In the modal that appears, provide a name for your interview question, assign a difficulty level, and then open the IDE to set up your question with instructions, files, and code.

Use the Server in an Interview

Once your question is set up, load it into an interview and start the server. E.g. for a Next.js application just run npm run dev in the terminal.

CleanShot 2026-01-29 at 17.04.47@2x

The server will be accessible under a URL that will remain the same and can be reused across multiple interviews. In the example below, the server is under https://CyIfhwx11.cblab.app and you can now make GET and POST requests to that URL.

Screenshot 2026-01-28 at 12.44.36 PM

.