Created simple API endpoint in index.js to serve orders