{"id":19564800,"url":"https://github.com/captv89/calc","last_synced_at":"2025-02-26T09:22:44.091Z","repository":{"id":180798364,"uuid":"380005094","full_name":"captv89/calc","owner":"captv89","description":"A Simple Calculator API written in Go powered by Buffalo.","archived":false,"fork":false,"pushed_at":"2021-06-25T19:18:06.000Z","size":82,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-08T23:48:03.187Z","etag":null,"topics":["api","buffalo","calculator","example","go"],"latest_commit_sha":null,"homepage":"","language":"Go","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/captv89.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}},"created_at":"2021-06-24T17:37:03.000Z","updated_at":"2021-06-25T19:18:08.000Z","dependencies_parsed_at":"2023-07-12T22:34:06.923Z","dependency_job_id":null,"html_url":"https://github.com/captv89/calc","commit_stats":null,"previous_names":["captv89/calc"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/captv89%2Fcalc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/captv89%2Fcalc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/captv89%2Fcalc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/captv89%2Fcalc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/captv89","download_url":"https://codeload.github.com/captv89/calc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240823621,"owners_count":19863475,"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":["api","buffalo","calculator","example","go"],"created_at":"2024-11-11T05:23:50.296Z","updated_at":"2025-02-26T09:22:43.945Z","avatar_url":"https://github.com/captv89.png","language":"Go","readme":"# Welcome to Simple Calculator Built with Buffalo!\n\nI chose Buffalo as prefered framework as it gives everything out of the box for newcomers like me. This is a simple Go (Golang) calculator with API. \n\nPlease ignore my immaturity in the coding. Any recomendations on improving the code is welcome. #LearningForEver\n\n## Get Started\nTo Set the Development Enviornment afresh to start working run\n\n\tbuffalo new calc --api --skip-pop --module github.com/githubusername/calc\n## Starting the Application\n\nBuffalo ships with a command that will watch your application and automatically rebuild the Go binary and any assets for you. To do that run the \"buffalo dev\" command:\n\n\t$ buffalo dev\n\nIf you point your browser to [http://127.0.0.1:3000](http://127.0.0.1:3000) you should see a \"Welcome to Buffalo!\" page.\n\n**Congratulations!** You now have your Buffalo application up and running.\n\n## What Next?\n\n### To Add\n\nPass num1 and num2 in the path followed by add/.\n\nExample\n\n\thttp://localhost:3000/add/3/4\n\nThis should give you an answer 7\n\n### To Subtract\n\nPass num1 and num2 in the path followed by sub/.\n\nExample\n\n\thttp://localhost:3000/sub/3/4\n\nThis should give you an answer -1\n\n### To Multiply\n\nPass num1 and num2 in the path followed by mul/.\n\nExample\n\n\thttp://localhost:3000/mul/3/4\n\nThis should give you an answer 12\n\n### To Divide\n\nPass num1 and num2 in the path followed by div/.\n\nExample\n\n\thttp://localhost:3000/div/8/4\n\nThis should give you an answer 2\n\n\nGood luck!\n\n[Powered by Buffalo](http://gobuffalo.io)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaptv89%2Fcalc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaptv89%2Fcalc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaptv89%2Fcalc/lists"}