Skip to main content

CIS 371

Bug Tracking in React

Winter 2023

This assignment was originally designed my Prof. Engelsma

For this sequence of assignments, you will build a version of your bug tracking app using React. Actually, you can make any app you like, as long as it isn't a copy of a tutorial or book example. For example, you can use your app from the Express homeworks, or part of your project.

Part 1: A simple user view

Write a very simple React app that will display a list of users. Over the next few assignments, you will be building up a "full" app that uses State and and an API. For this first part, you can use the simplifications listed below (which will make this assignment similar to the recipe example in the "React 3" video); or, you can skip directly to the "real" way of doing things. (The tradeoff is between a simpler first step, and avoiding having to rewrite part of your app later.) Specifically, for this first step, you may:

You must:

Part 2: A complete User view

Now complete the User view so all CRUD operations are working.

Add just enough styling so that the view doesn't look terrible. For example here, I just added some widths, and borders with rounded edges:

Part 3: Connect to API and Validate

Connect your User view to a real API of your choice (Express, Rails, Firebug, etc.). Also, add validation so that bad data doesn't get entered into the DB. Both the client and the server should validate the data.

Important: Don't allow duplicate email addresses.

Part 4: Add Bugs

Add a Bugs view. (Optional for W23)

Submission

Just commit your code with the message [grade me x] (where x is the current part number). Please include a screen shot of your app in your commit.


Updated Monday, 27 March 2023, 5:01 PM

W3c Validation