CTS Interview Question

how do u connect frontend backend database?