{"id":19494225,"url":"https://github.com/neofoxxo/weather-api-mongodb","last_synced_at":"2026-04-11T14:03:09.586Z","repository":{"id":191995569,"uuid":"685361937","full_name":"NeoFoxxo/weather-api-mongodb","owner":"NeoFoxxo","description":"Weather REST API built with Express.js \u0026 MongoDB","archived":false,"fork":false,"pushed_at":"2023-10-06T03:11:29.000Z","size":6343,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-30T16:23:33.866Z","etag":null,"topics":["express-js","jwt-auth","mongodb","openapi3","rest-api"],"latest_commit_sha":null,"homepage":"","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/NeoFoxxo.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":"2023-08-31T04:12:43.000Z","updated_at":"2025-04-01T01:28:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"84835d84-a910-4cd5-b39c-b6ecf95ff555","html_url":"https://github.com/NeoFoxxo/weather-api-mongodb","commit_stats":null,"previous_names":["neofoxxo/weather-api-mongodb"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NeoFoxxo/weather-api-mongodb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeoFoxxo%2Fweather-api-mongodb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeoFoxxo%2Fweather-api-mongodb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeoFoxxo%2Fweather-api-mongodb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeoFoxxo%2Fweather-api-mongodb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NeoFoxxo","download_url":"https://codeload.github.com/NeoFoxxo/weather-api-mongodb/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeoFoxxo%2Fweather-api-mongodb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278380456,"owners_count":25977216,"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-04T02:00:05.491Z","response_time":63,"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":["express-js","jwt-auth","mongodb","openapi3","rest-api"],"created_at":"2024-11-10T21:28:55.571Z","updated_at":"2025-10-04T21:49:12.960Z","avatar_url":"https://github.com/NeoFoxxo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Weather Sensor API\n\nThis weather sensor API is a secure REST API built with Express.js, MongoDB, and Mongoose. It features a fully functional API where users can query weather information stored in a MongoDB database.\u003cbr\u003e\n\u003cbr\u003eThis API was built using the OpenAPI 3 standard and its documentation can be viewed below:\n\u003cbr\u003e\u003ca href=\"https://app.swaggerhub.com/apis-docs/webDataCluster/WeatherAPI/1.0.0#/\"\u003eView API Documentation\u003c/a\u003e\u003cbr\u003e\n\n## Features\n* 🛡️ Secure authentication with JWT's\n* 🔒 Create and use accounts with full password encrytion\n* 🚪 Role-based access control to secure endpoints\n* ✅ Validation to prevent unexpected data from being inserted\n* 🌡️ Add new weather readings\n* 👥 Add new users with specified roles\n* 📊 Seven different endpoints to query, manipulate, and add weather data\n* 🔍 Five different endpoints to filter, create, and manipulate user accounts \n\n## Endpoints\n\u003cimg src=\"https://github.com/NeoFoxxo/weather-api-mongodb/blob/c9ff7b1e749c85d09716de0b71e399771101f721/images/endpoints.png\" alt=\"endpoints\" width=\"100%\"\u003e\n\n## How To Run It\nTo run this on your local machine, you will need to have Node.js installed and access to a MongoDB database.\n\n1. Clone the repository to your local machine\n2. Import the database folder to your MongoDB server with `mongorestore`\n3. Create a `.env` file in the root directory and add a `DATABASE_URL` and `ACCESS_TOKEN_SECRET`\n4. Open your terminal and run `npm install`\n5. Run the `npm run start` command\n6. Access the API on port 5000 and enjoy!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneofoxxo%2Fweather-api-mongodb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneofoxxo%2Fweather-api-mongodb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneofoxxo%2Fweather-api-mongodb/lists"}