Building the serverless backend