Use MySQL and express to be as a backend.
Steps: (of course you have downloaded the Node.js and MySQL)
- mkdir weather-server
- add package.json
- npm init -y
- yarn add express mysql cors
- open project with your editor
- create index.js file to code backedn content
Dependencies: "cors": "^2.8.5", "express": "^4.17.1", "mysql": "^2.18.1"