Start from the AWS Lambda template
-
In a terminal, run the following command
npm create -y bonfhir@latest
-
Provide a project name and select the lambda template with the Medplum FHIR Server:
info
This project template create a brand new serverless application, and:
- add the required bonFHIR packages for subscription management
- update the TypeScript configuration
- add the serverless-esbuild and serverless-offline packages and configure them for running the lambdas locally
cd
into the new project and open it in your favorite editor