Skip to content

Latest commit

 

History

History
85 lines (53 loc) · 2.74 KB

README.md

File metadata and controls

85 lines (53 loc) · 2.74 KB

SpaceX Reactjs Application Build Status

Live Site

Live site! https://spacex-reactjs.herokuapp.com/

Lighthouse Scores

Lighthouse Scores

Desktop View

Desktop View

Mobile Views

Mobile Views Mobile Views

Tablet View

Tablet View

Project Set Up

  • Create a forked copy of this project.
  • Add your team lead as collaborator on Github.
  • Clone your OWN version of the repository in your terminal.
  • CD into the project base directory cd SpaceX_launch_React.
  • Download project dependencies by running npm install.
  • Start up the app using npm start.
  • Create a new branch: git checkout -b <firstName-lastName>.
  • Implement the project on your newly created <firstName-lastName> branch, committing changes regularly.
  • Push commits: git push origin <firstName-lastName>.

In the project directory, you can run:

yarn install

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

Stack Used

  1. Reactjs
  2. Create-react-app boilerplate for rendering
  3. Styled-components for styling
  4. Jest for testing React Components
  5. Express for server-side-rendering.
  6. React Hooks , useState , useEffect...

Tech Used

Hooks are a new addition in React environment. They let you use state and other React features without writing a class. Hooks are the functions which "hook into" React state and lifecycle features from function components. By using useEffect Hook, you tell React that your component needs to do something after render. React will remember the function you passed (we'll refer to it as our “effect”), and call it later after performing the DOM updates.

Resources