Skip to content

neviaumi/project-bootstrap-aws-nest-react

Repository files navigation

AWS Serverless Web App

Working screenshot

The easy way to review would be following Development Section and read the Code Review Section

Code Review

Endpoint exposed

Frontend code related to feature

API code related to feature

Infrastructure setup

Development

Below script will set up the project and start the dev server. You can try change app code and see the result in real time.

bash ./scripts/setup.sh
bash ./scripts/dev.sh

Open http://localhost:3000 for dev

Deployment

Before you can do the deployment, you need to configure AWS CLI. Follow here to configure AWS CLI

To complete follow below steps, you also need Github CLI installed.

it optional because you always can merge back the release branch manually by create PR in GitHub.

Current it has only one deployment environment production. You can deploy it by running below script.

bash
# After that script it create the release branch
# and setup all requested resource in AWS 
# then deploy application to the resource.
source ./scripts/deploy.sh production
# You should merge back the release branch to base branch.
gh pr create --title "Merge back v$RELEASE_VERSION" \
--body "Bump version to v$RELEASE_VERSION" \
--base $CURRENT_BRANCH --head "$RELEASE_BRANCH"