Skip to content

LucasFelipeTimoteo/challenge-frontend-react

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

Marvel Strike Team

🌟 Marvel Strike Team 🌟

Explore and discover information about your favorite characters

Marvel Strike Team License Marvel Strike Team Forks Marvel Strike Team Stars <repo-title> Issues Marvel Strike Team Pull Requests Marvel Strike Team Repo Size Open in VSCode Open in VSCode Web


Marvel Strike Team

🚀 Features

  • Get a List of Marvel characters
  • Search for specific character
  • Read character description
  • Get all comics related to the selected character
  • Create a list of your favorite characters

🛠️ Installation Steps

  1. Clone the repository
git clone https://github.com/LucasFelipeTimoteo/challenge-frontend-react
  1. Dowload dependencies
npm install

🔥 Get Started

  1. Authentication to get data from Marvel
REACT_APP_API_PRIVATE_KEY=YOUR PRIVATE KEY
REACT_APP_API_PUBLIC_KEY=YOUR PUBLIC KEY
REACT_APP_API_LIMIT=20
  1. Go to project folder
cd frontend
  1. Start React app
npm start

🧪 Tests

  1. Run unit tests
npm test
  1. Run integration/E2E tests
npm run test:cypress
  1. Run all tests (units and integration/E2E) at once
npm run test:all
  1. Tips
  • Avoid running Integration/E2E tests if your Internet connection is not stable as this could result in unexpected errors
  • Avoid interacting with the application from within the test browser while the integration/E2E tests are running
  • To manually test some functionality, prefer to use the real application running in your browser
  • If an Integration/E2E test unexpectedly failed try running the tests again
  1. Integration/E2E interface (Cypress interface)
  • When running the Integration/E2E tests, the following interface will appear: Cypress interface

  • To run all integration/E2E tests at once, click in "Run Nº integration specs" Cypress interface to run all tests

  • To run specific tests, just choose from the list Cypress interface to run all tests

👷 Built with

Made with ❤️ by Lucas Felipe Timoteo

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 88.2%
  • JavaScript 7.8%
  • CSS 3.3%
  • HTML 0.7%