{"id":19016937,"url":"https://github.com/shivam010/go-rest-api","last_synced_at":"2026-05-13T21:35:32.824Z","repository":{"id":57507941,"uuid":"149414661","full_name":"Shivam010/go-rest-api","owner":"Shivam010","description":"Simple examples of HTTP - JSON REST API in Go Language(golang) using PostgreSQL database.","archived":false,"fork":false,"pushed_at":"2018-10-01T20:32:40.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-30T14:07:35.857Z","etag":null,"topics":["api","golang","http","postgresql","rest-api","restful-api"],"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/Shivam010.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}},"created_at":"2018-09-19T08:04:49.000Z","updated_at":"2018-10-01T20:32:42.000Z","dependencies_parsed_at":"2022-09-26T17:51:11.670Z","dependency_job_id":null,"html_url":"https://github.com/Shivam010/go-rest-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shivam010%2Fgo-rest-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shivam010%2Fgo-rest-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shivam010%2Fgo-rest-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shivam010%2Fgo-rest-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Shivam010","download_url":"https://codeload.github.com/Shivam010/go-rest-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240061051,"owners_count":19741947,"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","golang","http","postgresql","rest-api","restful-api"],"created_at":"2024-11-08T19:45:04.221Z","updated_at":"2026-04-26T21:30:18.526Z","avatar_url":"https://github.com/Shivam010.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-rest-api\nSimple examples of HTTP - JSON REST API in Go Language(golang) using PostgreSQL database.\n- USER MANAGEMENT\n- TODOLIST MANAGEMENT\n---\n\nUSER MANAGEMENT\n---\nIt is designed and developed to implement following operations:\n- Create User: To create a new user\n- Get User: To get the required user using its UserID\n- GetAll User: To get all the users from database\n- Edit User: To edit the user details\n- Delete User: To delete a user\n\nA user has following information attributes:\n- First Name\n- Last Name\n- Date of Birth (Optional)\n- Email\n- Phone Number\n\nTo access the api use: \n- Create User: A POST request at https://userapi010.herokuapp.com/create \n- Get User: A GET request at https://userapi010.herokuapp.com/user?id={id}\n- GetAll User: A GET request at https://userapi010.herokuapp.com/users\n- Edit User: A PUT request at https://userapi010.herokuapp.com/edit?id={id}\n- Delete User: A DELETE request at https://userapi010.herokuapp.com/delete?id={id}\n\nThe api: https://userapi010.herokuapp.com doesn't implement any auth service and hence, can be used by anyone.\n\n---\n\nTODOLIST MANAGEMENT\n---\nIt is designed and developed to implement following operations:\n- Add Todo List: To add a new todo list\n- Delete Todo List: To delete an already present todo list\n- Edit Todo List Name: To update the name of an already present todo list\n- Add Todo Item: To add an item in a todo list\n- Delete Todo List Item: To delete an item of a todo list\n- Get Todo List Item: To get an item of a todo list\n- Update Todo Item: To update an item of a list\n- Get Todo List : To get the whole todo list\n\nA TodoItem has following information attributes:\n- ID: Item ID\n- Value: Item Value/Description\n- Completed: Item Status\n\nA TodoList has following information attributes:\n- ID: List ID\n- Items: List of TodoItems in the TodoList\n- Name: List Name/Description\n\n---\n\nBoth the API services are protected using [Basic Auth](https://en.wikipedia.org/wiki/Basic_access_authentication) with following credentials: \n- Username: mavis\n- Password: shivam\n\n# Contributing\nChanges and improvements are more than welcome! \nFeel free to fork and open a pull request. \nAnd Please make your changes in a specific branch and request to pull into master! If you can, please make sure the game fully works before sending the PR, as that will help speed up the process.\n\n# License\nGO-REST-API is licensed under the [MIT license](https://github.com/Shivam010/go-rest-api/blob/master/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshivam010%2Fgo-rest-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshivam010%2Fgo-rest-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshivam010%2Fgo-rest-api/lists"}