The application communicates with the Chief Inspectorate For Environmental Protection API to display data on air quality in Poland. It features a map of monitoring stations, current measurements and weather data, along with a history of pollution values from three days ago. Additionally, it includes a function to find the nearest station, a list of favorite stations, and a feature to locate the selected station on a map. The technologies used include Next.js, Tailwind CSS, Leaflet and Chart.js.
- Node.js installed on your machine.
- Clone the repository:
git clone https://github.com/xresto/air-quality-app.git
- Navigate to the project directory:
air-quality-app
- Install the dependencies:
npm install
# or
yarn
# or
pnpm install
- Run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
- Open your browser and visit http://localhost:3000 to view the application.