GithubHelp home page GithubHelp logo

dkennell / react-redux-nested-routes-lab-v-000 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from learn-co-students/react-redux-nested-routes-lab-v-000

0.0 0.0 0.0 192 KB

HTML 11.76% JavaScript 88.24%

react-redux-nested-routes-lab-v-000's Introduction

Nested Routes Lab

Objectives

  1. Build out a nested resource.
  2. Implement a redirect using React Router.

Instructions

Congratulations, you're working at Petfinder! Before we get to browse all of the cute puppies and kittens, let's build them using a React app with a couple of routes.

Your coworkers have already built out a PetsPage component to render out a list of all the Pets. Your assignment is as follows.

  1. Create a Route so that visiting /pets displays the PetsPage component and renders the list of pets.
  2. Visiting '/pets/:petId' should display some detailed information about a particular pet.
  3. Visiting '/pets/new' should display a form to create a new Pet. After create, the user should be redirected back to '/pets'.

Note: the tests do no check for the routes. They only test the individual components. You will need to manually check that the routes are working in the browser by running npm install && npm start and going to localhost:3000

View React Redux Nested Routes Lab on Learn.co and start learning to code for free.

react-redux-nested-routes-lab-v-000's People

Contributors

lukeghenco avatar jeffkatzy avatar crwhitesides avatar dkennell avatar gj avatar achasveachas 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.