Skip to content
/ starter-react Public template

React template which help you to create a new React project with a configured eco-system.

Notifications You must be signed in to change notification settings

gabbloquet/starter-react

Repository files navigation

Starter React

Getting started

Requirements:

  • node 14+
  • npm 6.14+

Then, you can install dependencies and start the application locally:

npm install
npm start

Congratulations ! Your application is running on http://localhost:5173/ 🎉

Need help to get started ?

Optional

Your stack

This starter has been initialized with Vite which is a build tool that aims to provide a faster and leaner development experience for modern web projects. (And more precisely react-ts template).

Next to that, you have interesting tools which are already configure :

Tools Purpose Informations
Eslint & Prettier Linting and formatting You can configure your IDE by adding these tools libraries
Jest Delightful JavaScript Testing Framework with a focus on simplicity. Examples on **.spec.ts or **.spec.tsx files
React Testing library DOM testing library to reproduce user behavior with tests Examples on **.spec.tsx files
React Query Fetching, caching, synchronizing and updating server state in your React applications a breeze. Examples in <Contests /> component
React router dom Provides Routing Examples in App.tsx component

You can find here how this application has been initialized.

Build your application

Local build (After that, you would be able to find it in Dist folder):

npm run build

Build with docker:

docker compose up

Going further