SSR Frontend on Serverless Sample: https://aws.folkmann.it/
- Head to the AWS Certificate Manager, and create and verify the domain
- Update the
secrets.json
- Deploy the project, it will fail on GetBasemap
- Go to "API Gateway/Custom Domain Names", and add the domainname you just created a certificate for
- Go to your DNS-registra and create a CNAME that points to the XXXXXXXXXXXX.execute-api.[region].amazonaws.com domain you were given in 2.
- Deploy the project again
- You might have to wait 40 minutes before the domain works
- Start development
# install dependencies
$ npm install
# serve with hot reload at localhost:3000
$ npm run dev
# build for production and upload to AWS-Lambda (update config in serverless.yml first!)
$ npm run deploy
For detailed explanation on how things work, checkout Nuxt.js docs.