Skip to content

nelsonacos/scrum-battle

Repository files navigation

GitHub contributors GitHub issues GitHub forks GitHub stars GitHub license Linkedin url


React Typescript Vite

About The Project

Prerequisites

node install docs

sudo apt install nodejs

npm

npm install npm@latest -g

(back to top)

Getting Started

Starting the Project with Docker Compose

  1. Clone the repo
git clone https://github.com/nelsonacos/scrum-battle.git
  1. Open command line and go to project folder
cd scrum-battle
  1. Run The Command:
docker-compose up --build

Open http://localhost:3000/ with your browser to see the result.

Starting the Project without Docker Compose

  1. Clone the repo
git clone https://github.com/nelsonacos/scrum-battle.git
  1. Open command line and go to project folder
cd scrum-battle
  1. Install NPM packages
npm install
  1. Then open another command line and run the frontend
npm run dev

Open http://localhost:3000/ with your browser to see the result.

(back to top)

React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:

export default tseslint.config({
  extends: [
    // Remove ...tseslint.configs.recommended and replace with this
    ...tseslint.configs.recommendedTypeChecked,
    // Alternatively, use this for stricter rules
    ...tseslint.configs.strictTypeChecked,
    // Optionally, add this for stylistic rules
    ...tseslint.configs.stylisticTypeChecked,
  ],
  languageOptions: {
    // other options...
    parserOptions: {
      project: ['./tsconfig.node.json', './tsconfig.app.json'],
      tsconfigRootDir: import.meta.dirname,
    },
  },
})

You can also install eslint-plugin-react-x and eslint-plugin-react-dom for React-specific lint rules:

// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'

export default tseslint.config({
  plugins: {
    // Add the react-x and react-dom plugins
    'react-x': reactX,
    'react-dom': reactDom,
  },
  rules: {
    // other rules...
    // Enable its recommended typescript rules
    ...reactX.configs['recommended-typescript'].rules,
    ...reactDom.configs.recommended.rules,
  },
})

(back to top)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors