Code Monkey home page Code Monkey logo

candy-maker-ui's Introduction

Candy Maker API

Part One Instructions

In the initial commit of this project you have been provided with an API server. In a new branch called part-one-answer, your task is to create a React app in a client folder of this repo, and integrate the Express and React app following the standards we went over in class.

Specifically:

  • Your API should remain in the root directory.
  • Your React site should live in the /client folder and should have it's own package.json.
  • Use scripts in your package.json to start, build, and test your React app by moving into the client folder.
  • Use scripts in your package.json to run the backend and frontend at the same time.
  • Change your backend to serve the build folder in your client folder.
  • The React site should be a simple site as shown below with a title, and an input box that updates a string under the box. Use components as outlined last week.
  • Verify your React site is viewable using both localhost:1337 (express backend) and localhost:3000 (create-react-app)

image

Part Two Instructions

Continuing from your part-one-answer branch, in a new branch called part-two-answer, your task is to create a React page that retrieves a list of Candy manufacturers from the API and displays them on the screen. This page should also have a search box that updates the list of manufacturers displayed to only those whose name matches the search term typed by the user.

image

Part Three Instructions

Continuing from your part-two-answer branch, in a new branch called part-three-answer, your task is to create a multi-page React application. Each manufacturer on the existing page should be a link to a page which displays all of the products made by that manufacturer. All components for these pages should utilize Styled Components, no external CSS should be used.

image

Part Four Instructions

Continuing from your part-three-answer branch, in a new branch called part-four-answer, your task is to create a test suite that contains tests for each of the components used in your application.

candy-maker-ui's People

Contributors

hollisjamison avatar

Watchers

Kati Skurka 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.