Coder Social home page Coder Social logo

project-bootstrap-aws-nest-react's Introduction

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" 

project-bootstrap-aws-nest-react's People

Contributors

dependabot[bot] avatar github-actions[bot] avatar neviaumi avatar

Watchers

 avatar  avatar  avatar

project-bootstrap-aws-nest-react's Issues

use SSR on web ?

It benefit for

  • Deployment without CloudFront (faster spin up environment stack )
  • SEO
  • Auth with authorization code flow rather then PKCE

with drawback

  • Have to introduce new framework like remix / next ...etc.
  • Client Caching lead to complex
  • Talk between api and web toward to difficult , which token i should use ?

Replace AWS with GCP?

Why

Dynamodb haven't good support on Pagination as it haven't total count and query by offset feature.
It got some workaround in frontend in order to make it work.
I have to :

  • Disable previous page feature (I can't go back without saving previous next page token)
  • Disable go to last page feature (I don't know what is last page token)

In order to make pagination usable.

When come to real world consideration, seem it more suitable on infinite scroll.

IaC Support

  • Test Pulumi with GCP in new repo
  • Create FireStore
  • Create Google Storage
  • Create CloudFunction

Replace DynamoDB with Firestore

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.