{"id":27654348,"url":"https://github.com/blakek/mississippi-burn-bans-api","last_synced_at":"2025-04-24T05:39:06.461Z","repository":{"id":288103143,"uuid":"950827208","full_name":"blakek/mississippi-burn-bans-api","owner":"blakek","description":"🔥 List current outdoor burn bans for the state of Mississippi","archived":false,"fork":false,"pushed_at":"2025-04-18T20:26:37.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-24T05:38:57.193Z","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/blakek.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,"zenodo":null}},"created_at":"2025-03-18T18:38:17.000Z","updated_at":"2025-04-18T20:26:14.000Z","dependencies_parsed_at":"2025-04-15T15:54:51.333Z","dependency_job_id":null,"html_url":"https://github.com/blakek/mississippi-burn-bans-api","commit_stats":null,"previous_names":["blakek/mississippi-burn-bans-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blakek%2Fmississippi-burn-bans-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blakek%2Fmississippi-burn-bans-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blakek%2Fmississippi-burn-bans-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blakek%2Fmississippi-burn-bans-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blakek","download_url":"https://codeload.github.com/blakek/mississippi-burn-bans-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250573286,"owners_count":21452337,"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","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-04-24T05:39:05.538Z","updated_at":"2025-04-24T05:39:06.450Z","avatar_url":"https://github.com/blakek.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mississippi-burn-bans-api\n\n\u003e 🔥 A lightweight API to fetch and serve burn ban data for Mississippi counties.\n\n## Overview\n\nThis API provides endpoints to retrieve burn ban data for Mississippi counties. The data is fetched from the Mississippi Forestry Commission's website and cached for efficient access.\n\n### Endpoints\n\n#### `GET /api/burn-bans`\n\n- Returns a list of all burn bans.\n- Example response:\n  ```json\n  [\n    {\n      \"counties\": \"Hinds\",\n      \"issued\": \"2025-04-01T00:00:00.000Z\",\n      \"expires\": \"2025-04-15T00:00:00.000Z\",\n      \"exemptions\": \"Agricultural burns\"\n    }\n  ]\n  ```\n\n#### `GET /api/burn-bans/:county`\n\n- Returns burn ban data for a specific county.\n- Example response:\n  ```json\n  {\n    \"counties\": \"Hinds\",\n    \"issued\": \"2025-04-01T00:00:00.000Z\",\n    \"expires\": \"2025-04-15T00:00:00.000Z\",\n    \"exemptions\": \"Agricultural burns\"\n  }\n  ```\n\n## Contributing\n\n### Prerequisites\n\n- [Bun.sh](https://bun.sh/) \u003e=v1.2\n\n### Setup\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/blakek/mississippi-burn-bans-api\ncd mississippi-burn-bans-api\n```\n\n2. Install dependencies:\n\n```bash\nbun install\n```\n\n### Running the Project\n\nTo start the API server:\n\n```bash\n# for production\nbun start\n\n# or with hot reloading for development\nbun dev\n```\n\nThe server will start and display the URL where it is running (e.g., `http://localhost:3000`).\n\n### Useful Commands\n\n| Command         | Description                          |\n| --------------- | ------------------------------------ |\n| `bun install`   | Install project dependencies.        |\n| `bun start`     | Start the API server.                |\n| `bun dev`       | Start the server with hot reloading. |\n| `bun test`      | Run tests.                           |\n| `bun typecheck` | Check TypeScript types.              |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblakek%2Fmississippi-burn-bans-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblakek%2Fmississippi-burn-bans-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblakek%2Fmississippi-burn-bans-api/lists"}