Skip to content

tonela10/RomanToInteger

Repository files navigation

RomanToInteger Web Program 🥸

Welcome to the RomanToInteger web program repository! This project provides a simple web application that converts Roman numerals to integers.

Table of Contents

Overview

This web application allows users to input Roman numerals and get the corresponding integer value. The project includes the main application code and a test suite to ensure the functionality is working correctly.

Getting Started

Prerequisites

To run this project locally, you will need:

  • A modern web browser
  • Node.js and npm (for running tests)

Installation

  1. Clone the repository:
    git clone https://github.com/tonela10/RomanToInteger.git
  2. Navigate to the project directory:
    cd RomanToInteger

Usage

Open index.html in your web browser to use the RomanToInteger converter. Simply enter a Roman numeral and the corresponding integer will be displayed.

Testing

The project includes a test.js file to test the conversion functionality. The tests are automatically run every time there is a push to the repository.

Running Tests Locally

To run the tests locally, ensure you have Node.js and npm installed, then run:

npm install
npm test

Deployment

The application is automatically deployed to GitHub Pages. You can access it at https://tonela10.github.io/RomanToInteger/.

To manually deploy the application:

  1. Commit your changes:
    git add .
    git commit -m "Your commit message"
  2. Push the changes to the repository:
    git push origin main

GitHub Actions will automatically run the tests and deploy the application to GitHub Pages upon a successful push.

Contributing

We welcome contributions! If you would like to contribute, please follow these steps:

  1. Fork the repository.
  2. Create a new branch:
    git checkout -b feature/your-feature-name
  3. Make your changes and commit them:
    git commit -m "Describe your changes"
  4. Push to the branch:
    git push origin feature/your-feature-name
  5. Open a pull request detailing your changes.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Antonio Sediles Asenjo


Thank you for using the RomanToInteger web program! If you have any questions or feedback, please feel free to open an issue in the repository.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published