Skip to content

This project is based on the idea of enabling a customer to get household help like an electrician, Plumber etc online till now a basic message service has been implemented in it for the customer. it is made using ASP.NET

Notifications You must be signed in to change notification settings

yashatre98/Urban-Helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Roman Numeral Converter

Table of Contents

  1. Project Overview
  2. Build and Run Instructions
  3. Engineering and Testing Methodology
  4. Project Packaging Layout
  5. Dependency Attribution

Project Overview

This project is a Roman Numeral Converter built with React. It includes two distinct implementations:

  1. Custom Converter Component - A standard component with a light/dark mode toggle.
  2. React Spectrum-Based Component - Utilizes Adobe React Spectrum for theme auto-detection.

The project also integrates performance monitoring using web-vitals and logs metrics to a backend server.


Build and Run Instructions

Prerequisites

  • Node.js (version 18 or later recommended)
  • npm (comes bundled with Node.js)

Steps

  1. Clone the Repository
    git clone https://github.com/yashatre98/React-Roman-numerals.git
    cd React-Roman-numerals
  2. Install Dependencies
    npm install
  3. Run the local server
    npm run dev
  4. Access the application
    http://localhost:5173
    
    

Engineering and Testing Methodology

Engineering Approach

  • Component Design:
    • Converter.jsx - Implements the primary Roman numeral converter with a toggleable theme button.
    • SpectrumConverter.jsx - Uses React Spectrum for theme-aware rendering without manual toggling.
  • Performance Monitoring:
    • Implemented in vitals.js using the web-vitals library. Metrics such as CLS, LCP, FCP, and TTFB are sent to the backend using Axios.
  • Responsiveness:
    • Both components are styled for optimal viewing on various screen sizes.

Testing Approach

  • Unit Testing:
    • Converter.test.jsx validates the core converter functionality.
    • SpectrumConverter.test.jsx tests the behavior of the Spectrum-based component.
  • Automation:
    • Tests are executed using Jest and React Testing Library.

demo_gif demo_gif

test_coverage Code Coverage image

image ![Uploading image.png…]()

About

This project is based on the idea of enabling a customer to get household help like an electrician, Plumber etc online till now a basic message service has been implemented in it for the customer. it is made using ASP.NET

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published