{"id":22372163,"url":"https://github.com/dhrypt/animated-broccoli","last_synced_at":"2025-03-26T17:18:01.009Z","repository":{"id":266060042,"uuid":"875497768","full_name":"dhrypt/animated-broccoli","owner":"dhrypt","description":"Simple Web Server in Go","archived":false,"fork":false,"pushed_at":"2024-10-20T07:47:49.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T22:09:05.686Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dhrypt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-10-20T06:16:41.000Z","updated_at":"2024-10-22T13:45:22.000Z","dependencies_parsed_at":"2024-12-02T18:54:23.077Z","dependency_job_id":null,"html_url":"https://github.com/dhrypt/animated-broccoli","commit_stats":null,"previous_names":["dhrypt/animated-broccoli"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhrypt%2Fanimated-broccoli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhrypt%2Fanimated-broccoli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhrypt%2Fanimated-broccoli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhrypt%2Fanimated-broccoli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dhrypt","download_url":"https://codeload.github.com/dhrypt/animated-broccoli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245699261,"owners_count":20657987,"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":"2024-12-04T20:33:52.598Z","updated_at":"2025-03-26T17:18:00.982Z","avatar_url":"https://github.com/dhrypt.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Project Description: Simple Web Server in Go\n\nThis project implements a basic web server using Go's `net/http` package. The server serves static files from a designated directory and provides two specific endpoints: `/form` and `/hello`.\n\n## Features\n- **Static File Serving**: The server serves static files from the `./static` directory, allowing for easy access to HTML, CSS, and JavaScript resources.\n- **Form Handling**: The `/form` endpoint processes POST requests from a form, extracting `name` and `address` values from the submitted form data.\n  - Returns a confirmation message along with the submitted name and address.\n- **Hello Endpoint**: The `/hello` endpoint responds to GET requests with a simple \"hello!\" message. It also handles incorrect paths and methods by returning appropriate error messages.\n\n## Usage\n1. Start the server by running the Go application.\n2. Access the static files by navigating to `http://localhost:8080/`.\n3. To test the form handling, create a simple HTML form that submits data to `http://localhost:8080/form`.\n4. Access the hello endpoint by navigating to `http://localhost:8080/hello`.\n\n## Technologies Used\n- Go (Golang)\n- net/http package\n\nThis project serves as a foundational template for understanding HTTP request handling, form processing, and static file serving in Go.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhrypt%2Fanimated-broccoli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdhrypt%2Fanimated-broccoli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhrypt%2Fanimated-broccoli/lists"}