How to deploy a live ReactJS/Redux website in under 10 minutes

How to deploy a live ReactJS/Redux website in under 10 minutes

☞ 

#reactjs

  • Set up AWS S3 bucket (time: ~5 minutes)a) Log into AWS console and click on S3b) Click create bucket and enter a Bucket name(example: onederful-quickstart).
  • Click Next through all the remaining steps and create the bucket.In Bucket name, use a unique name for your appc) On the list view, click on the newly created bucketYour newly created bucket should be in the list viewd) A popup will show up, click on propertiesClicking on the properties panel will…
  • The error document being set to index.html enables the React app to define and handle all the routing rather than S3f) Click on permissions tab and copy and paste the policy (replacing [YOUR BUCKET NAME] with your bucket name){ “Version”: “2012-10-17”, “Statement”: [ { “Sid”: “AllowPublicRead”, “Effect”: “Allow”, “Principal”: “*”, “Action”:…
  • If you don’t include this, the endpoint in step e) will return a 403 unauthorized error as it defaults the bucket to private.

Ever had an webapp idea that you wanted to quickly prototype and send to people? After going to 8+ hackathons and winning over $105,000 in prize money, I’ve found a pretty good way to get a fully…
Continue reading “How to deploy a live ReactJS/Redux website in under 10 minutes”

How to deploy a live ReactJS/Redux website in under 10 minutes

How to deploy a live ReactJS/Redux website in under 10 minutes

☞ 

#reactjs

  • Set up AWS S3 bucket (time: ~5 minutes)a) Log into AWS console and click on S3b) Click create bucket and enter a Bucket name(example: onederful-quickstart).
  • Click Next through all the remaining steps and create the bucket.In Bucket name, use a unique name for your appc) On the list view, click on the newly created bucketYour newly created bucket should be in the list viewd) A popup will show up, click on propertiesClicking on the properties panel will…
  • The error document being set to index.html enables the React app to define and handle all the routing rather than S3f) Click on permissions tab and copy and paste the policy (replacing [YOUR BUCKET NAME] with your bucket name){ “Version”: “2012-10-17”, “Statement”: [ { “Sid”: “AllowPublicRead”, “Effect”: “Allow”, “Principal”: “*”, “Action”:…
  • If you don’t include this, the endpoint in step e) will return a 403 unauthorized error as it defaults the bucket to private.

Ever had an webapp idea that you wanted to quickly prototype and send to people? After going to 8+ hackathons and winning over $105,000 in prize money, I’ve found a pretty good way to get a fully…
Continue reading “How to deploy a live ReactJS/Redux website in under 10 minutes”

Getting started with React Native

  • React Native helps you to build apps that no one would ever tell you that you did not use a custom native language such as JAVA or Swift or Objective C. React Native gives you that extra feel.
  • Create React Native App is the easiest way to start building a new React Native application.
  • It allows you to start a project without installing or configuring any tools to build native code – no Xcode or Android Studio installation required.
  • Do a change of directory to the location where you installed the React Native App.
  • NOTE: Create React Native App makes it really easy to run your React Native app on a physical device without setting up a development environment.

Getting to know React Native
Continue reading “Getting started with React Native”

Building a personal website from start to finish – YUDIAN ZHU – Medium

  • Recently, I built a personal website and would like to share the steps here for reference.These are the steps I take:1.
  • Visual Tools like CyberDuck and FileZilla helps you to drag files directly to the server which is quite convenient.
  • After we finish it we can polish it again and again.The following are sketches I draw for website design.
  • I chose create-react-app to construct.Following the guide of create-react-app and split the different parts of my website.Filling in contentsPut up the introduction of your wbesite and show the viewer what this website is all aboutDeploy to serverrun the commandnpm run buildupload the build files to the server.
  • The server will look for the index file and show it on the website.Polish the websiteConsider that your website is not perfect enough?

Web beginners are usually quite confused where to start to build a website. Recently, I built a personal website and would like to share the steps here for reference. These are the steps I take:
1…
Continue reading “Building a personal website from start to finish – YUDIAN ZHU – Medium”

How to deploy a live ReactJS/Redux website in under 10 minutes

How to Deploy A Live ReactJS/Redux Website in Under 10 Minutes:

  • Set up AWS S3 bucket (time: ~5 minutes)a) Log into AWS console and click on S3b) Click create bucket and enter a Bucket name(example: onederful-quickstart).
  • Click Next through all the remaining steps and create the bucket.In Bucket name, use a unique name for your appc) On the list view, click on the newly created bucketYour newly created bucket should be in the list viewd) A popup will show up, click on propertiesClicking on the properties panel will redirect you to the properties tab for the buckete) Click on Static website hosting and enter in index.html for both fields Index document and Error documentThe endpoint is the public URL you can share with anyone.
  • The error document being set to index.html enables the React app to define and handle all the routing rather than S3f) Click on permissions tab and copy and paste the policy (replacing [YOUR BUCKET NAME] with your bucket name){ “Version”: “2012-10-17”, “Statement”: [ { “Sid”: “AllowPublicRead”, “Effect”: “Allow”, “Principal”: “*”, “Action”: “s3:GetObject”, “Resource”: “arn:aws:s3:::[YOUR BUCKET NAME]/*” } ]}This policy allows everyone (principal: “*”) to see the objects (your website) in your bucket.
  • If you don’t include this, the endpoint in step e) will return a 403 unauthorized error as it defaults the bucket to private.

Ever had an webapp idea that you wanted to quickly prototype and send to people? After going to 8+ hackathons and winning over $105,000 in prize money, I’ve found a pretty good way to get a fully…
Continue reading “How to deploy a live ReactJS/Redux website in under 10 minutes”

react-router-tutorial/lessons/01-setting-up at master · reactjs/react-router-tutorial · GitHub

  • Latest commit 944256c Mar 21, 2016 chrisbolin Make explicit
  • First you’ll need Node.js and the package manager that comes with it: npm .
  • Feel free to poke around the code to see how we’re using webpack and npm scripts to run the app.
  • Make the setup fast and easy 🙂

Contribute to react-router-tutorial development by creating an account on GitHub.
Continue reading “react-router-tutorial/lessons/01-setting-up at master · reactjs/react-router-tutorial · GitHub”