guipmdev / color-button

Web app to toggle between colors and learn testing basics

Home Page:https://guipmdev-color-button.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lang-en lang-pt-br

Repository language count Repository size GitHub workflow status Tests report Tests coverage Project license Layout designer

Screenshot of the application initial page

Go to the web application β†—

πŸ“’ Table of Contents

πŸ“ Overview

The color-button projectis a web application developed in React that consists of a button and a checkbox. The button allows users to toggle between two colors, Medium Violet Red and Midnight Blue, and the checkbox can disable and enable the button.

The main purpose of this app is to showcase a basic functionality in React with Jest and Testing Library tests.

✨ Features

🎨 Switch between two colors at the click of a button

πŸ”› Deactivate and reactivate the button via checkbox

πŸ§ͺ Project focused on Jest and Testing Library tests

πŸ€– Demo

color-button.mp4

πŸ›  Technologies

The following tools were used to build the project:

Website

React ESLint

Jest jest-junit Testing Library

* See the package.json file

Utils

Git Node.js VSCode

πŸš€ Getting Started

βœ”οΈ Prerequisites

Before you begin, ensure that you have the following tools installed on your machine: Git, Node.js. It's also good to have an editor to work with the code, such as VSCode.

πŸ“¦ Installation

  1. Clone the repository:
git clone https://github.com/guipmdev/color-button/
  1. Change to the project directory:
cd color-button
  1. Install the dependencies:
npm install

βš™οΈ Usage

  1. Start the web application:
npm run start
  1. Access https://localhost:3000/ to view the application

πŸ§ͺ Running tests

npm run test

πŸ“„ License

This project is licensed under the terms of the MIT license. See the LICENSE file for additional info.

πŸ‘ Acknowledgments

  • Many thanks to Bonnie Schulkin for the layout and tips when putting this project together

Made with πŸ’™ by @guipm.dev - Feel free to contact me!


↑   Return to the top   β†‘

About

Web app to toggle between colors and learn testing basics

https://guipmdev-color-button.vercel.app

License:MIT License


Languages

Language:JavaScript 75.9%Language:HTML 24.1%