weather-guesser
v1.0.1
Published
## Table of Contents - [Play](#play) - [Requirements](#requirements) - [Installation](#installation) - [Usage](#usage) - [Dependencies](#dependencies) - [Dev Dependencies](#dev-dependencies)
Readme
Weather Guesser
Table of Contents
Play
Play here.
Requirements
You should provide VITE_OPEN_WEATHER_API_KEY in .env file. It's needed for correct displaying of Score
VITE_OPEN_WEATHER_API_KEY = 'Your OpenWeather API Key'Installation
To install the necessary dependencies, run the following command:
npm installUsage
Development
To start the development server, run:
npm run devThis will launch the Vite development server, which provides hot module replacement and fast refresh for an enhanced development experience.
Build
To build the project for production, run:
npm run buildThe build output will be generated in the dist directory. This build is optimized and ready for deployment.
Preview
To preview the production build locally, run:
npm run previewThis will start a local server to serve the files from the dist directory, allowing you to preview the production build.
Linting
To lint the project files, run:
npm run lintThis will check the code for any linting errors using ESLint according to the specified configurations. The command ensures no unused disable directives are present and enforces a maximum of zero warnings.
Dependencies
react: ^18.2.0react-dom: ^18.2.0
Dev Dependencies
@types/react: ^18.2.66@types/react-dom: ^18.2.22@vitejs/plugin-react: ^4.2.1eslint: ^8.57.0eslint-config-react-app: ^7.0.1eslint-plugin-react: ^7.34.1eslint-plugin-react-hooks: ^4.6.0eslint-plugin-react-refresh: ^0.4.6vite: ^5.2.0vite-plugin-eslint: ^1.8.1
