{"id":25612600,"url":"https://github.com/amytho/shull-weather","last_synced_at":"2026-06-25T05:30:59.619Z","repository":{"id":114354290,"uuid":"418723798","full_name":"aMytho/shull-weather","owner":"aMytho","description":"Webserver for handling weather data","archived":false,"fork":false,"pushed_at":"2021-12-21T17:15:08.000Z","size":948,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-12T05:34:27.236Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/aMytho.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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}},"created_at":"2021-10-19T01:13:23.000Z","updated_at":"2021-12-21T17:15:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"33f4e735-51f8-469d-8392-f4264fd33e55","html_url":"https://github.com/aMytho/shull-weather","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aMytho/shull-weather","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aMytho%2Fshull-weather","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aMytho%2Fshull-weather/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aMytho%2Fshull-weather/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aMytho%2Fshull-weather/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aMytho","download_url":"https://codeload.github.com/aMytho/shull-weather/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aMytho%2Fshull-weather/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34761844,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-25T02:00:05.521Z","response_time":101,"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":[],"created_at":"2025-02-22T00:28:35.649Z","updated_at":"2026-06-25T05:30:59.594Z","avatar_url":"https://github.com/aMytho.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"http://nestjs.com/\" target=\"blank\"\u003e\u003cimg src=\"https://nestjs.com/img/logo_text.svg\" width=\"320\" alt=\"Nest Logo\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n[circleci-image]: https://img.shields.io/circleci/build/github/nestjs/nest/master?token=abc123def456\n[circleci-url]: https://circleci.com/gh/nestjs/nest\n\n## Description\n\nA webserver for managing weather data. Provides and API and a few basic pages. Built with NestJS.\n\n## Installation\n\n```bash\n$ npm install\n```\n\n## Database Connection\n\nCreate `ormconfig.json` in the root directory. Enter the below data to connect to the server. Make sure to replace your credentials with the ones shown.\n\n```json\n{\n    \"type\": \"mysql\",\n    \"host\": \"IP Address\",\n    \"port\": 3306,\n    \"username\": \"username\",\n    \"password\": \"password\",\n    \"database\": \"SkyWeather\",\n    \"entities\": [\"dist/weather/entity/weather.entity.js\"],\n    \"synchronize\": false\n}\n```\n\nIf you are using docker the default username and password are both root. Copy all other fields from the example ormconfig file.\n\n## Config Options\n\nCreate `.env` in the root directory. Enter the below data replacing the values with your own key and zip code.\n\n```env\nopenWeatherKey = OPEN_WEATHER_KEY_HERE\nzipCode = 00601\n```\n\n## Database Setup\n\nMove into the docker container. \n\nExample: `docker exec -it  shull-weather_db_1 bash`\n\nConnect to the databse.\n\nExample: `mysql -u root -h localhost -p SkyWeather` \nEnter the password when prompted.\n\nCopy and paste all of the data in `SkyWeather.sql` into the sql prompt.\n\nExit the sql prompt.\n\nExample: `exit`\n\nExit the docker container\n\nExample: `exit`\n\n## Running the app\n\n```bash\n# normal start\n$ npm run start\n\n# development\n$ npm run start:dev\n\n# production mode\n$ npm run start:prod\n```\n\n## Generate Fake Data\n\nWhile the server is running head to /weather/api/mock. This will generate one entry for each request.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famytho%2Fshull-weather","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famytho%2Fshull-weather","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famytho%2Fshull-weather/lists"}