Skip to content

Latest commit

 

History

History
68 lines (45 loc) · 1.2 KB

README.md

File metadata and controls

68 lines (45 loc) · 1.2 KB

Suora React Workshop

This repo contains a development environment for React, including typescript and some libraries which might get used in the workshop.

Getting Started

In order to start working, do the following

  • clone the repository
  • open a terminal inside the cloned repo
  • run npm install
  • run npm run dev

This will open a browser with a message saying that you can start editing code.

git clone https://github.com/SuoraGmbH/react-camp-2024-10.git
cd react-camp-2024-10
npm install
npm run dev

Most Important Commands

# Start the development server
npm run dev

# Run the tests in watch mode
npm run test

# Run static code checks
npm run lint

# Start the backend server, required for some exercises
# Not required for beginning
npm run dev:backend

Available Commands

# Start the development server
npm run dev

# Run the tests in watch mode
npm run test

# Run the tests using a small UI
npm run test:ui

# Run static code checks
npm run lint

# Format the code using prettier
npm run format

# Start the backend server, required for some exercises
# Not required for beginning
npm run dev:backend

# Build the project (for production)
npm run build