2 Respostas
- Mais recentes
- Mais votos
- Mais comentários
0
Yes, it's possible to deploy an Express server-based web application on AWS Amplify. Amplify primarily supports frontend web applications and serverless backends, but you can still deploy server-side applications like Express servers with a little bit of modifications.
respondido há um mês
0
Deploying a Nuxt 3 web app (Is that it ?) from any repo using Amplify involves these steps:
- Initialize Amplify and add hosting.
amplify init
amplify add hosting
- Configure Amplify hosting to point to your Express server code in
deploy-manifest.json
. - Connect your Git repo in the Amplify console.
- Add a post-build script in
package.json
to copy build artifacts to.amplify-hosting
.
"scripts": {
"build": "nuxt build",
"postbuild": "cp -r dist/. .amplify-hosting/"
}
- Commit and push code to trigger Amplify deployment.
- Access your app at the default URL provided. Amplify handles backend infrastructure.
Conteúdo relevante
- AWS OFICIALAtualizada há 7 meses
- AWS OFICIALAtualizada há 2 anos
- AWS OFICIALAtualizada há 2 anos
- AWS OFICIALAtualizada há um ano
Hi Bhagavan, thanks for your reply. To be clear, I am talking about a frontend web application, but in our case it uses an express server. Do you have any links to tutorials on how to do this? I've seen some documentation on SSR apps, but not sure they're relevant.