Skip to content

A Vite React + Typescript PWA App. Uses React Query for data fetching and state management.

Notifications You must be signed in to change notification settings

JohnnyAir/weather-base

Repository files navigation

Netlify Status

Installation

  1. Install dependencies:

    yarn

Usage

Development Server

To start the development server and run the project locally:

yarn dev

Building for Production

To build the project for production:

yarn build

The production-ready files will be generated in the dist directory.

Serve Production Build

To serve the production build locally:

yarn preview

Run Test

To serve the production build locally:

yarn test

This will start a local server to serve the production build, allowing you to preview the application as it will appear in a production environment.

Project Structure

The project structure is designed to keep your code organized and maintainable. Here's a brief overview of the important directories and files:

  • src: Contains the source code of the React application.
    • main.tsx: Entry point of the application.
    • modules: App logical modules.
    • pages: Directory for defining individual pages or views of your application.
  • public: Contains static assets that will be directly copied to the build output directory.

About

A Vite React + Typescript PWA App. Uses React Query for data fetching and state management.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages