Create from the Vite template
-
In a terminal, install and run package @bonfhir/create-bonfhir
npm create -y bonfhir@latest
-
Provide a project name and select the next template:
info
This project template create a brand new Next.js application (with the new app router), and:
- add the required bonFHIR packages with Mantine integration
- update the TypeScript configuration
- add the NextAuth.js package and configure it for authentication
- include a layout and a page to get started