Install dependencies:
bun install && bun run sst installStart the development server:
bun run devOpen http://localhost:3000 with your browser to see the result.
In order to deploy the app, you need to run the following command:
bun run sst deploy --stage productionThis will build and deploy the app to the production stage.
- using aws-lambda preset
app.config.tsis configured to use:
server: {
preset: "aws-lambda",
compatibilityDate: "2024-11-23",
awsLambda: {
streaming: true,
},
},