Created a sample Remix app that you can host on AWS Amplify via the Amplify deployment specification
This is a simple demo app, NOT PRODUCTION-READY. It shows how you can take the build outputs from remix vite:build
and make them compatible with AWS Amplify's deployment specification.
The Amplify-specific files are:
amplify.yml
- the build specification so Amplify's build service runs apostbuild
script after anpm run build
amplify-plugin/
deploy-manifest.json
- Configuration details and metadata for deployment. Designates which routes should be served statically vs. dynamicallyserver.js
- A copy of the express server from the official Remix documentationpackage.json
- Designates to usetype: module
to allow forimport
s at runtime