Skip to content

Latest commit

 

History

History
67 lines (48 loc) · 1.87 KB

File metadata and controls

67 lines (48 loc) · 1.87 KB

Getting Started

This guide will help you set up and run the project on your local machine for development and testing purposes.

Prerequisites

  • Node.js (v16 or later)
  • npm (v8 or later) or yarn
  • Git

Installation

  1. Clone the repository

    git clone https://github.com/yourusername/boilerplate-react-ts-reactquery-zustand-tailwind-genai.git
    cd boilerplate-react-ts-reactquery-zustand-tailwind-genai
  2. Install dependencies

    npm install
    # or
    yarn
  3. Set up environment variables Create a .env file in the root directory and add your environment variables:

    VITE_API_BASE_URL=your_api_base_url
    VITE_APP_TITLE=Your App Name

Available Scripts

In the project directory, you can run:

  • npm run dev Runs the app in development mode. Open http://localhost:5173 to view it in the browser.

  • npm run build Builds the app for production to the dist folder. It correctly bundles React in production mode and optimizes the build for the best performance.

  • npm run test Launches the test runner in interactive watch mode.

  • npm run test:coverage Runs tests and generates a coverage report.

  • npm run lint Runs ESLint to check for code quality issues.

Project Structure

Refer to the Project Structure documentation for a detailed overview of the project's directory structure.

Learn More

To learn more about the technologies used in this project, check out the following resources: