Climatic is a weather application built with Vue.js
, Node.js, and Python using MetaCall and Express. It provides a robust weather API with multiple endpoints, including current conditions, forecasts, analytical data processing, and predictions powered by machine learning models.
- Weather by City or Coordinates – Fetch weather data using city names or latitude/longitude.
- Current Location Support – Retrieve weather information based on the user's current location.
- 16-Day Forecast – Access extended weather forecasts for up to 16 days.
- Weather Analysis – Analyze historical or current weather data via Python scripts loaded with MetaCall.
- Weather Prediction – Predict weather trends (e.g., temperature, precipitation) using machine learning models through MetaCall.
Follow the steps below to set up the project on your local machine.
Make sure the following dependencies are installed:
- Node.js (v16 or higher) – Download
- NPM – Comes bundled with Node.js
- Python (v3.8 or higher) – Download
- MetaCall – Enables Python integration in Node.js. See the MetaCall Installation Guide
- OpenWeather API – Required for weather data. API Website
-
Clone the repository Open your terminal and run:
git clone https://github.com/metacall/weather-dashboard-example.git cd weather-dashboard-example
-
Install the requirements
cd backend metacall pip3 install -r requirements.txt metacall npm install
This installs all necessary backend dependencies.
Install the requirements
cd frontend
npm install
-
Start the Backend Navigate to the
backend/
directory and run the server:cd backend node main.js
This starts the backend server for processing weather data.
-
Start the Frontend In the
frontend/
directory, run the Vue.js development server:cd frontend npm run serve
For additional information, see the tutorial sample.
Thanks for checking out Climatic! Hope you enjoy using it 🙂