/api

This directory holds the endpoints that serve JSON for the /demo, and a few other endpoints that handle POSTS and GETs from the /frontend.

Conventions

If you're wondering why the file that handles routing in this directory isn't an index.ts file... The reason is that when you have a bunch of files open in your IDE called index.ts, it's impossible to know without clicking in to each file which one is which. Similar issue when debugging server logs.