{"id":22697199,"url":"https://github.com/nagcas/weather-app","last_synced_at":"2025-10-11T13:38:34.371Z","repository":{"id":257854284,"uuid":"871774508","full_name":"nagcas/Weather-App","owner":"nagcas","description":"Weather App: Visualizza il Meteo con un Click","archived":false,"fork":false,"pushed_at":"2025-08-24T17:46:25.000Z","size":4839,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-13T07:43:18.275Z","etag":null,"topics":["bootstrap","hacktoberfest","javascript","react","vite"],"latest_commit_sha":null,"homepage":"https://weather-app-hacktoberfest.vercel.app/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nagcas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-10-12T22:34:45.000Z","updated_at":"2025-08-24T17:46:27.000Z","dependencies_parsed_at":"2025-04-13T04:46:22.662Z","dependency_job_id":"ebca0c57-4d12-47ae-8142-c7a53c5983f1","html_url":"https://github.com/nagcas/Weather-App","commit_stats":null,"previous_names":["nagcas/weather-app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nagcas/Weather-App","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nagcas%2FWeather-App","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nagcas%2FWeather-App/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nagcas%2FWeather-App/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nagcas%2FWeather-App/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nagcas","download_url":"https://codeload.github.com/nagcas/Weather-App/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nagcas%2FWeather-App/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279007345,"owners_count":26084282,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bootstrap","hacktoberfest","javascript","react","vite"],"created_at":"2024-12-10T05:12:25.977Z","updated_at":"2025-10-11T13:38:34.336Z","avatar_url":"https://github.com/nagcas.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Weather App 🌦️\n\n![License](https://img.shields.io/badge/license-MIT-blue.svg)\n![Hacktoberfest](https://img.shields.io/badge/Hacktoberfest-2024-orange)\n\nWeather App is an application that allows users to view the current weather and forecasts for multiple cities using the OpenWeatherMap API. The app enables registered users to save their favorite cities. The project includes a backend for authentication (login and registration) and preference management.\n\n\n\n- 🌍 View the current weather for any city.\n- 🔮 5-day weather forecasts.\n- 🔐 Authentication: login and registration system.\n- ⭐ Save favorite cities for registered users.\n- 💻 Responsive design for an optimal experience on mobile and desktop.\n\n  ## Screenshot\n  ![Screenshot 2024-10-21 230409](https://github.com/user-attachments/assets/f7da5f0a-2e0d-426e-be42-33e04525f7f2)\n\n\n## Technologies used\n\n- **Frontend**:\n  - React with Vite\n  - CSS3 (Flexbox per il layout responsive)\n  **Fetch** (for API calls)\n\n- **Backend**:\n  - Node.js with Express\n  - MongoDB (for user and favorite city management)\n  - JWT (for authentication)\n  - Bcrypt (for password management)\n\n- **API**:\n  - OpenWeatherMap\n\n## Installation and Usage\n\n### Prerequisites\n\nMake sure you have Node.js, npm, and MongoDB installed on your computer.\n\n### Installation\n\n1. Clone the repository:\n\n  ```bash\n  git clone https://github.com/nagcas/Weather-App.git\n  cd weather-app\n  ```\n\n## Install dependencies for the frontend and backend\n\n## For the frontend\n\n  ```bash\n  cd frontend\n  npm install\n  ```\n\n## For the backend\n\n  ```bash\n  cd ../backend\n  npm install\n  ```\n\n## Configure environment variables\n\nCreate a `.env` file in the `backend` folder with the following content:\n  \n  ```bash\n  PORT=5000\n  MONGO_URI=\u003cla tua stringa di connessione MongoDB\u003e\n  JWT_SECRET=\u003cuna stringa segreta per i token\u003e\n  OPENWEATHER_API_KEY=\u003cla tua chiave API di OpenWeatherMap\u003e\n  ```\n\n## Start the backend\n  \n  ```bash\n  cd backend\n  npm start\n  ```\n\n## Start the frontend using Vite\n\n  ```bash\n  cd frontend\n  npm run dev\n  ```\n\n## Contribuire\n\nContributing to the project is easy! If you want to participate, follow the instructions in the CONTRIBUTING.md file.\n\n### Fork the project\n\nCreate a new branch for your feature: `git checkout -b feature/your-feature-name`.\nCommit your changes: `git commit -m \"Adds a new feature\"`.\nPush to the branch: `git push origin feature/your-feature-name`.\nSubmit a pull request.\n\n### License\n\nDistributed under the MIT License. See the LICENSE file for more details.\n\nProject created for Hacktoberfest 2024. 🎃\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnagcas%2Fweather-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnagcas%2Fweather-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnagcas%2Fweather-app/lists"}