{"id":20521794,"url":"https://github.com/nickemma/gobank-api","last_synced_at":"2026-01-05T04:34:04.337Z","repository":{"id":239104805,"uuid":"798157245","full_name":"nickemma/gobank-api","owner":"nickemma","description":"The GoBank API is a lightweight and efficient JSON API server implemented in Go. It provides endpoints for managing bank accounts and performing account-related operations. With easy-to-use RESTful endpoints, developers can quickly integrate banking functionalities into their applications.","archived":false,"fork":false,"pushed_at":"2024-05-22T00:17:28.000Z","size":21282,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-26T07:24:15.350Z","etag":null,"topics":["bycrypt","docker","golang","gorilla-mux","jsonwebtoken","postgresql","testing"],"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/nickemma.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-05-09T07:53:41.000Z","updated_at":"2024-05-27T14:24:34.000Z","dependencies_parsed_at":"2024-05-10T03:25:11.432Z","dependency_job_id":"ffe51a7a-395f-44ae-96e3-50ecac628641","html_url":"https://github.com/nickemma/gobank-api","commit_stats":null,"previous_names":["nickemma/gobank-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickemma%2Fgobank-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickemma%2Fgobank-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickemma%2Fgobank-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickemma%2Fgobank-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nickemma","download_url":"https://codeload.github.com/nickemma/gobank-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244782689,"owners_count":20509869,"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":["bycrypt","docker","golang","gorilla-mux","jsonwebtoken","postgresql","testing"],"created_at":"2024-11-15T22:32:22.027Z","updated_at":"2026-01-05T04:33:59.301Z","avatar_url":"https://github.com/nickemma.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GoBank API\n\nThe GoBank API is a lightweight and efficient JSON API server implemented in Go. It provides endpoints for managing bank accounts and performing account-related operations. With easy-to-use RESTful endpoints, developers can quickly integrate banking functionalities into their applications.\n\n## Features\n\n- Handle GET requests to retrieve account information.\n- Handle POST requests to create new accounts.\n- Handle DELETE requests to delete existing accounts.\n- Handle error responses gracefully.\n\n## Setup\n\n### 1. Clone the repository:\n\n```bash\ngit clone https://github.com/nickemma/gobank-api.git\n```\n\n### 2. Navigate to the project directory:\n\n```bash\n cd gobank-api\n```\n\n### 3. Build the project:\n\n```bash\n go build / make build\n```\n\n### 4. Run the server:\n\n```bash\n go run ./ OR make run\n```\n\nBy default, the server listens on localhost:5000. You can customize the listen address by specifying the LISTEN_ADDR environment variable.\n\n# API Endpoints\n\n## Get Account\n\n```bash\n GET /account/{id}\n```\n\nRetrieves account information based on the provided ID.\n\n## Create Account\n\n```bash\n POST /account\n```\n\nCreates a new account. Requires a JSON payload containing account details (e.g., first name, last name).\n\n## Delete Account\n\n```bash\n DELETE /account/{id}\n```\n\nDeletes an existing account based on the provided ID.\n\n## Error Handling\n\nThe API server handles errors gracefully and returns appropriate error responses with descriptive error messages in JSON format.\n\n## Dependencies\n\n- Gorilla Mux: https://github.com/gorilla/mux\n\n## 👤 Author \u003ca name=\"author\"\u003e\u003c/a\u003e\n\n👤 **Nicholas Emmanuel**\n\n- GitHub: [@NickEmma](https://github.com/NickEmma)\n- Twitter: [@techieEmma](https://twitter.com/techieEmma)\n- LinkedIn: [@Nicholas Emmanuel](https://www.linkedin.com/in/techieemma/)\n\n## Contributing\n\nContributions are welcome! Feel free to submit issues or pull requests.\n\n## License\n\nPlease be advised that our project is released under the terms of a License. Please ensure that you read and understand the terms of the [MIT](LICENSE) License before using our project.\n\n## Contact\n\n### Nicholas Emmanuel\n\n \u003cdiv align=\"center\"\u003e\n \u003ca href=\"https://www.linkedin.com/in/techieemma/\"\u003e\u003cimg src=\"https://img.shields.io/badge/linkedin-%23f78a38.svg?style=for-the-badge\u0026logo=linkedin\u0026logoColor=white\" alt=\"Linkedin\"\u003e\u003c/a\u003e \n \u003ca href=\"https://twitter.com/techieEmma\"\u003e\u003cimg src=\"https://img.shields.io/badge/Twitter-%23f78a38.svg?style=for-the-badge\u0026logo=Twitter\u0026logoColor=white\" alt=\"Twitter\"\u003e\u003c/a\u003e \n \u003ca href=\"https://github.com/nickemma/\"\u003e\u003cimg src=\"https://img.shields.io/badge/github-%23f78a38.svg?style=for-the-badge\u0026logo=github\u0026logoColor=white\" alt=\"Github\"\u003e\u003c/a\u003e \n \u003ca href=\"https://medium.com/@nicholasemmanuel321\"\u003e\u003cimg src=\"https://img.shields.io/badge/Medium-%23f78a38.svg?style=for-the-badge\u0026logo=Medium\u0026logoColor=white\" alt=\"Medium\"\u003e\u003c/a\u003e \n \u003ca href=\"mailto:nicholasemmanuel321@gmail.com\"\u003e\u003cimg src=\"https://img.shields.io/badge/Gmail-f78a38?style=for-the-badge\u0026logo=gmail\u0026logoColor=white\" alt=\"Linkedin\"\u003e\u003c/a\u003e\n \u003c/div\u003e\n\n## Acknowledgments\n\n- [Creator](https://github.com/anthdm) for the inspiration for this project.\n- [LazyCoders](https://lazy-coders.netlify.app/) For help and support throughout my development journey\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickemma%2Fgobank-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnickemma%2Fgobank-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickemma%2Fgobank-api/lists"}