Serverless Monorepo

This is an example of a monorepo with a React frontend and a backend API, where both are serverless.

Example

Data from the endpoint at /api/test :

The date and time is Mon May 13 2024 12:32:45 GMT+0000 (Coordinated Universal Time)

On initial page render the data is fetched using server side logic.

If you click the button below, it will call the API from the browser (client side).


View source on github.com/iaincollins/serverless-monorepo