Skip to content

kevinmcruzp/ignite_challenge02_refactoringAnApp

Repository files navigation

React Challenge 02 Completed

🖥️ One challenge launched by Rocketseat, which we must create one app, where your main objective is to refactor a page for listing the films according to genre.

Table of contents

About the Challenge

Sidebar_Content

Edit three files, Content.tsx, SideBar.tsx and App.tsx

🗡️ When you use "Rocketseat TEMPLATE " this src/App.tsx has all the app, you need change it.

🗡️ src/components/SideBar.tsx, this component is empty, must have all function and responsible body for the title of the site and the navigation the left side.

🗡️ src/components/Content.tsx this component is empty, must have all function and responsible body for the header and app content.

challenge02

This is how App.tsx should look like.

🗡️ The app has only one main functionality, which is the listing of films.

🗡️ In the SideBar it's possible to select which category of films should be listed.

🗡️ The first category of list (It's action) it should already start as marked.

🗡️ The app Header has only the name of the selected category that must change dynamically.

We will use FAKE API with JSON server, in the URL http://localhost:3333

challenge

⚔️IMPORTANT!! My challenge is completed, if you want to solve this challenge, use this template: " TEMPLATE "! ⚔️

Installation

#Clone the repository
  SSH
  $ git clone [email protected]:KevinMCruzP/reactChallenge02.git
  
  or
  
  HTTPS
  $ git clone https://github.com/KevinMCruzP/reactChallenge02.git
#Install the dependencies
  $ npm install

or

  $ yarn
#Run the fake API with JSON server in http://localhost:3333/genres or /movies
  $ npm run server

or

  $ yarn server
#Run the app in http://localhost:8080/
  $ npm run dev

or

  $ yarn dev

Technology

🛠 Tools used in the construction of the project

networking 📩

Insta Linkedin

🚧 README in construction... 🚀 🚧

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published