Setup project for serverless with prisma and typescript

Prisma Documentation: AWS Lambda deployment example

Deployment Guide

Database Connection

To make this work you have to create a .env file and insert your database connection string like so:

DATABASE_URL="postgresql://__USER__:__PASSWORD__@__HOST__/__DATABASE__"