React and Morty

"The only way to learn a new programming language is by writing programs in it."
-- Dennis Ritchie

What we are going to build

repo-logo

This repo contains the Rick and Morty in React exercise. Use this as a template.

We will create a React app to render characters from the Rick and Morty API. You will be able to save characters as favorites, see detailed information on a separate page and you can get random characters.

See a scribble for a simple overview: app See final example app here

Learning Objectives

  • git & GitHub workflow
  • using issues and a board to organize tasks
  • learn to build a multipage react application
  • how to break down a big problem in solvable smaller problems
  • coding, coding, coding

You will use the following stack

  • react with useState & useEffect hooks
  • styled-components
  • react-router
  • ES6 Features
  • fetching data from an external API
  • storing data in localStorage
  • logic

How to get started?

We have created some issues for you. (You will learn how to import these into your own project (after using the template))

These issues, solved from 1 to 8, will help you to focus on one problem at a time. After solving everyone of them the app should be „production“ ready and running.

Please read the issues carefully and if you have any questions, pls ask the coaches.

If you working on an issue, pls move the issue from the todo tab in the project board to the working on tab.

Workflow step 1

  • use this repo as a template and create an own project in your GitHub Account

  • then clone the repo to your local machine

  • create a board back on Github (in the repo)

  • got to the Projects tabs board1

  • choose Projects (not Projects beta) and click New project board1

  • give the board a meaningful name, like Development and choose as a Project template -> Basic kanban board1

  • click then Create project

  • go now to the Actions tab board1

  • click Create all issues for the project and then Run workflow and again Run workflow board1

  • this action creates all issues, you have to do

  • under the Issues tab you should see now the number 8 (the image is just an example) board1

  • go back to your project kanban board and click the + Add cards button and move every issue with drag & drop into the To do column board1 board1 board1

Workflow step 2

  • after doing Workflow step 1:

  • read the issue carefully, best practice would be to start with #1 and do everything whats in there

  • When you are ready, push the branch to Github and create a pull request, write a short description what was done here and then merge the branch into main.

  • Move the issue you are have finished from the „in progress“ tab to the „done“ tab.

  • Pull the main from the remote (GitHub) to your local machine.

  • Start over with the next issue.

Recources:

HAVE FUN

"Wubba lubba dub dub"
-- Rick Sanchez