Deployment & Testing
Prerequisite
Please refer to the Developement Guide to learn how to develop and test your extension locally.
Pre-Deployment
Once you have completed the development and local testing of your extension, the next step is to deploy it to a cloud provider of your choice. Key considerations for production deployment:
- Environment Variables: Update the .env file with the correct API key, secret, and launch URL for the production environment.
- Best Practices: Go through the Deployment Best Practices Checklist to ensure you’ve implemented proper observability, performance optimizations, and security measures.
- Start Production Server: Run the command
npm run start:prod
to launch the production server.
Deployment Methods
We recommend deploying your extension in a serverless manner for scalability and cost-effectiveness. Learn more about our Recommended Deployment Methods.
Post-Deployment
After deployment, verify that your extension is functioning as expected. Refer to the Testing Best Practices Checklist to ensure quality across the following aspects:
- Functionality
- User Experience (UX)
- Load Handling
- Accessibility
- Cross-Browser & Cross-Device Compatibility
For a smooth and efficient process, consider writing automated tests wherever possible.