A simple Weather Dashboard that uses Python, Node.js, and VueJs. It fetches weather data from Openweather API using nodejs, calculate the average temperature using python and displays it on the frontend.
backend/
: Contains the Node.js backend codefrontend/
: Contains the Vue.js frontend code
Make sure you have the following installed on your system:
- metacall install
- Node.js
- npm
-
Backend Setup:
Navigate to the
backend/
directory and install the necessary dependencies:cd backend metacall npm install express metacall npm install cors metacall npm install axios
-
Frontend Setup:
Navigate to the
frontend/
directory and install the necessary frontend dependencies:cd frontend npm install
-
Start the Backend:
Go to the
backend/
folder and run the backend server:cd backend metacall main.js
This will start the backend server which listens for weather data requests.
-
Start the Frontend:
In the
frontend/
folder, run the Vue.js development server:cd frontend npm run serve