Coder Social home page Coder Social logo

luizamedeiros / hapu-nanny-share-remake-challenge. Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 11.55 MB

A simplified version of Hapu's Nanny Share website using React and styled-components. Features API post and A/B tests, as well as a responsive design.

HTML 4.83% CSS 2.12% JavaScript 93.05%
abtest react axios

hapu-nanny-share-remake-challenge.'s Introduction

Getting Started with React App

This project was bootstrapped with Create React App. To run it:

  1. First, download and unzip the project, or run a git clone on the repository.
  2. Once you have the project locally, you'll have to do a npm install or yarn install, in the project directory.
  3. After you've installed the necessary modules by following the step above, you can:
  4. yarn start or npm start

    This runs the app in development mode.
    Just open http://localhost:3000 to view it in the browser. The page will reload if you make edits.

    yarn build or npm build

    This 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.
    This makes the app ready to be deployed!

    See the section about deployment for more information.

Description

Challenge goal: The purpose of this challenge is to give a general idea of how React works and how it can be used to create simple reactive applications. I've implemented a simplified version of Hapu’s ‘Become a Nanny Share Host’ view. The concepts that were applied are:

  • JSX;
  • Components, props and state;
  • Lifecycle Methods;
  • Responsive design with CSS media-queries;
  • API calls;
  • Error handling;
  • SEO & accessibility;
  • A/B tests;
  • Production builds.

A/B tests

When running the app, you may end up seeing one of the two following screens:

  • This is the original prototype design version.
  • This is the alternative version, used for the A/B test.

Since these screens are persistent for users, once you run the project, there's a chance that the screen you first get is the screen you'll always see! This is done on purpose so that the user always has the most consistent experience possible. If for some reason you'd like to see the other screen, all you have to do is clear your browser storage session, and you should be good to go.

hapu-nanny-share-remake-challenge.'s People

Contributors

luizamedeiros avatar

Watchers

 avatar

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.