GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - TheSoftwareHouse/react-starter-boilerplate: A highly scalable React SPA boilerplate focused on performance and best practices, written in TypeScript.

BranchesTags
Open more actions menu

Latest commit

 

History

567 Commits
567 Commits

Folders and files

NameName
Last commit message
Last commit date
.changeset
.changeset
 
 
.github
.github
 
 
.husky
.husky
 
 
docker/e2e-runner
docker/e2e-runner
 
 
docs
docs
 
 
e2e
e2e
 
 
plop
plop
 
 
public
public
 
 
scripts
scripts
 
 
src
src
 
 
.credentials.json.dist
.credentials.json.dist
 
 
.editorconfig
.editorconfig
 
 
.env.babelsheet.dist
.env.babelsheet.dist
 
 
.env.dist
.env.dist
 
 
.env.e2e.dist
.env.e2e.dist
 
 
.env.test
.env.test
 
 
.eslintignore
.eslintignore
 
 
.eslintrc
.eslintrc
 
 
.gitignore
.gitignore
 
 
.gitlab-ci.yml
.gitlab-ci.yml
 
 
.npmrc
.npmrc
 
 
.nvmrc
.nvmrc
 
 
.prettierignore
.prettierignore
 
 
.prettierrc
.prettierrc
 
 
.stylelintrc
.stylelintrc
 
 
.validate-branch-namerc.cjs
.validate-branch-namerc.cjs
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE.md
LICENSE.md
 
 
PROJECT_README.md
PROJECT_README.md
 
 
README.md
README.md
 
 
babelsheet.json.dist
babelsheet.json.dist
 
 
bitbucket-pipelines.yml
bitbucket-pipelines.yml
 
 
commitlint.config.cjs
commitlint.config.cjs
 
 
index.html
index.html
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
plopfile.mjs
plopfile.mjs
 
 
tsconfig.json
tsconfig.json
 
 
vite.config.ts
vite.config.ts
 
 

Repository files navigation

React Starter Boilerplate

A highly scalable and focused on performance and best practices boilerplate code for TypeScript based React SPA applications.

This project was bootstrapped with Vite and modified by TSH team.

Start your new React application in seconds!

GitHub stars GitHub watchers GitHub followers

Discord Version GitHub License

Features

Quick scaffolding

Generate React code snippets from the CLI by using Plop micro-generator framework.

TypeScript

The best way to write modern frontend applications. Code is easier to understand. By using TypeScript it is more difficult to write invalid code as was the case in dynamically typed languages.

Static code analysis

Focus on writing code, not formatting it! Code formatter and linter keeps the code clean which makes work and communication with other developers more effective!

How to bootstrap your React project

To start your new React project based on the react-starter-boilerplate you need to follow this steps:

  1. Clone this repository:
git clone https://github.com/TheSoftwareHouse/react-starter-boilerplate.git
  1. Change the name of project directory to the name of your project. Also don't forget to change the name of your application in package.json file.

  2. Restore git history of the project. To do that, run following commands:

sudo rm -r .git
git init
git remote add origin <your empty project repository>
git remote -v
  1. Replace this file with PROJECT_README.md and fill all the placeholders with data about your project:
mv PROJECT_README.md README.md
  1. Add all files to git history and create initial commit:
git add .
git commit -m 'Initial commit'
git push origin master
  1. Copy the .env.dist file to .env.local and populate the environment variables with the values used in the local environment
cp .env.dist .env.local

Now, your project is bootstrapped successfully! 🎉

You can install dependencies and start developing your React application 🚀

Scripts

npm run [command_name]
  • start - Launches the app in development mode on http://localhost:3000
  • build - Compiles and bundles the app for deployment*
  • build:ci - Build command optimized for CI/CD pipelines
  • build:analyze - Builds the app and opens the rollup-plugin-visualizer report in the browser
  • typecheck - Validate the code using TypeScript compiler
  • preview - Boot up a local static web server that serves application build. It's an easy way to check if the production build looks OK on your local machine
  • test - Run unit tests with vitest
  • coverage - Run unit tests with code coverage calculation
  • lint - Validate the code using ESLint and Prettier
  • lint:fix - Validate and fix the code using ESLint and Prettier
  • plop - Run CLI with commands for code generation
  • translations - Run Babelsheet tool for fetch the latest translations
  • serve:cypress - Run Cypress E2E tests panel
  • version - Build CHANGELOG file base on git commits history
  • e2e:open - Run E2E tests panel
  • e2e:ci:firefox: Run E2E tests on Firefox browser in CI pipelines
  • e2e:ci:chrome: Run E2E tests on Chrome browser in CI pipelines

*See the section about deployment for more information.

Table of Contents

  1. Technology stack
  2. Application structure
  3. React Query abstraction
  4. Using plop commands
  5. E2E tests

How to Contribute

Anyone and everyone is welcome to contribute. Start by checking out the list of open issues.

However, if you decide to get involved, please take a moment to review the guidelines.

License

Copyright © 2021-present The Software House. This source code is licensed under the MIT license found in the LICENSE file.


Made with ♥ by The Software House (website, blog) and contributors.

About

A highly scalable React SPA boilerplate focused on performance and best practices, written in TypeScript.

tsh.io/

Resources

Readme
MIT license

Contributing

Contributing
Activity
Custom properties

Stars

89 stars

Watchers

8 watching

Forks

29 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.