Skip to content

Instantly share code, notes, and snippets.

View sudipstha08's full-sized avatar
πŸ™
Working Remotely

Sudip Shrestha sudipstha08

πŸ™
Working Remotely
View GitHub Profile
@sudipstha08
sudipstha08 / S3-Static-Sites.md
Created March 4, 2024 07:38 — forked from bradwestfall/S3-Static-Sites.md
Use S3 and CloudFront to host Static Single Page Apps (SPAs) with HTTPs and www-redirects. Also covers deployments.

S3 Static Sites

⚠ This post is fairly old. I don't keep it up to date. Be sure to see comments where some people have posted updates

What this will cover

  • Host a static website at S3
  • Redirect www.website.com to website.com
  • Website can be an SPA (requiring all requests to return index.html)
  • Free AWS SSL certs
  • Deployment with CDN invalidation
@sudipstha08
sudipstha08 / AppDelegate.m
Created March 15, 2023 15:22 — forked from dabit3/AppDelegate.m
Deep Linking Your React Native App Final AppDelegate
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#import "AppDelegate.h"