/internal-spa-starter

Vite Template for creating a Modern React SPA

Primary LanguageTypeScript

Internal React SPA Starter

Vite React React Router React QUERY ESLint Prettier Cypress Mantine

Vite Starter template for creating a Modern React Single Page App

Description

This is a Vite Starter template to get working on internal or prototype Singe Page Applications using React and Typescript.

Components

Getting Started

Prerequisites

  • node: >=16.16.0
  • npm, yarn or pnpm for running/installing scripts

Installation

Use degit to clone to your machine with an empty git history:

npx degit javaidh/internal-spa-starter#main my-app

Then, install dependencies:

npm install

Development

Most of the setup to run things is done for you. Just make sure you setup prettier in your IDE to maintain code consistency!

Run Local Development Server

To stat developing locally and view your changes, simply run the command:

npm start

Run Tests

To start component tests using cypress simply run the command:

npm run tests