Welcome to the Greeting App! This is a simple JavaScript application that allows users to enter their name and receive a personalized greeting message. Additionally, the project includes Cypress tests to ensure the functionality of the app.
The Greeting App is a straightforward application developed using JavaScript. Users can input their name into a text field and click a button to submit it. Upon submission, the app generates a greeting message with the user's name and displays it on the screen.
Cypress tests have been implemented to verify the functionality of the Greeting App. These tests ensure that users can successfully input their name, submit it, and receive the expected greeting message. The tests are run automatically using GitHub Actions as part of the project's continuous integration (CI) workflow.
To run the Greeting App locally, follow these steps:
- Clone the repository to your local machine.
- Navigate to the project directory.
- Install dependencies by running
npm install
. - Start the application by running
npm start
. - Access the app in your web browser at
http://localhost:PORT
, wherePORT
is the port number specified in the terminal.
To run Cypress tests locally, make sure you have Cypress installed as a development dependency:
npm install cypress --save-dev