brundage / watch-the-clocktower

A state tracker for Blood on the Clocktower

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React Boilerplate (Simplified)

forked from codxmayank/react-boilerplate

A simple production grade React Boilerplate.

This boilerplate project is highly scalable and performance focused. It is made using best practices.

To Setup this type of project, (follow easy steps in this article)[https://blog.bitsrc.io/how-to-create-production-grade-react-applications-simplified-for-beginners-4e8d24627920].

This boilerplate includes the following setups

  • React Project (from scratch using npm init, create-react-app is not used to keep it simple)
  • Webpack and Babel
  • Eslint and Prettier
  • Husky (Pre-commit Git hooks)
  • Sonarcube scanner (local setup)

Project Details

Node version: v16 (16.13.1)

React version: v17 (17.0.2)

Steps to Run this project:

  1. Clone/fork this repository

  2. To install node_modules and other dependencies and dev dependencies run commands:

    npm install
    npm install --save-dev
    
  3. To build project, run

    For development build:

    npm run dev
    

    For production build:

    npm run build
    
  4. To run project on local, run

    npm run start
    

That's it. Enjoy!

About

A state tracker for Blood on the Clocktower

License:MIT License


Languages

Language:JavaScript 96.8%Language:CSS 1.7%Language:SCSS 0.8%Language:HTML 0.7%Language:Shell 0.1%