Howdy 👋 This is a simple React + Typescript boilerplate it contains:
- A simple React component.
- A simple unit test with @testing-library/react.
Before running this repository, make sure you have the following installed on your machine:
- Node.js (see
.nvmrc
) - npm (Node Package Manager)
- Clone the repository to your local machine.
- Open a terminal and navigate to the project directory.
- Run the command
npm install
to install the project dependencies. - Verify that the installation was successful by running the commands
npm run dev
andnpm run test
.
To start the development server, run the following command:
npm run dev
This will start the server and open the application in your default browser. You should see no errors or warnings, here's an example of what you should see in the terminal:
And here's what you should see in your browser:
To run the tests, use the following command:
npm run test
This will execute the test suite and display the results in the terminal.
This project is licensed under the MIT License.