Skip to content

A simple React + TypeScript boilerplate powered by Vite and Vitest

License

Notifications You must be signed in to change notification settings

Typeform/react-typescript-boilerplate

Repository files navigation

react-typescript-boilerplate

Howdy 👋 This is a simple React + Typescript boilerplate it contains:

Prerequisites

Before running this repository, make sure you have the following installed on your machine:

  1. Node.js (see .nvmrc)
  2. npm (Node Package Manager)

Installation

  1. Clone the repository to your local machine.
  2. Open a terminal and navigate to the project directory.
  3. Run the command npm install to install the project dependencies.
  4. Verify that the installation was successful by running the commands npm run dev and npm run test.

Development Server

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:

npm run dev

And here's what you should see in your browser:

Example React App

Running Tests

To run the tests, use the following command:


npm run test

This will execute the test suite and display the results in the terminal.

npm run test

License

This project is licensed under the MIT License.

About

A simple React + TypeScript boilerplate powered by Vite and Vitest

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published