This commit adds API routes. These routes are located in the ./pages/api/ directory. Each file in there will have it's default export invoked for HTTP calls to the corresponding route.
This commit adds API routes. These routes are located in the ./pages/api/ directory. Each file in there will have it's default export invoked for HTTP calls to the corresponding route.