{"id":25171581,"url":"https://github.com/basemax/graphneo4jgo","last_synced_at":"2026-05-10T02:39:04.886Z","repository":{"id":229815307,"uuid":"543119605","full_name":"BaseMax/GraphNeo4jGO","owner":"BaseMax","description":"This is a simple twitter-like api written in go as an example to use neo4j with golang. (postgresql, neo4j, graph)","archived":false,"fork":false,"pushed_at":"2025-03-21T23:28:52.000Z","size":201,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T17:08:06.341Z","etag":null,"topics":["api","go","go-api","go-neo4j","go-postgresql","neo4j","neo4j-database","neo4j-go","neo4j-graph","neo4j-tutorial","postgresql","restful","restful-api","restful-webservices","restfulapi"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BaseMax.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}},"created_at":"2022-09-29T12:48:55.000Z","updated_at":"2025-03-21T23:28:50.000Z","dependencies_parsed_at":"2024-03-26T12:31:23.776Z","dependency_job_id":"13f91b11-792a-45b5-8057-a141a962ccaa","html_url":"https://github.com/BaseMax/GraphNeo4jGO","commit_stats":null,"previous_names":["basemax/graphneo4jgo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2FGraphNeo4jGO","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2FGraphNeo4jGO/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2FGraphNeo4jGO/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2FGraphNeo4jGO/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BaseMax","download_url":"https://codeload.github.com/BaseMax/GraphNeo4jGO/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247079311,"owners_count":20880030,"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","go","go-api","go-neo4j","go-postgresql","neo4j","neo4j-database","neo4j-go","neo4j-graph","neo4j-tutorial","postgresql","restful","restful-api","restful-webservices","restfulapi"],"created_at":"2025-02-09T09:21:13.759Z","updated_at":"2026-05-10T02:38:59.839Z","avatar_url":"https://github.com/BaseMax.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Graph Neo4j Go\n\nThis is a simple twitter-like api written in go as an example to use neo4j with golang.\n\n### Technologies\n\n- [neo4j](https://neo4j.com/)\n- postgresql\n- [mux](https://github.com/gorilla/mux)\n- [jwt](https://github.com/golang-jwt/jwt)\n- [go-playground/validator](https://github.com/go-playground/validator)\n\n\n### Api documentation\nA guide for endpoints.\n\n#### User endpoints\nBase path: `host://api/v1/user`\n\n- **Register**\n  - Path: `/register/`\n  - Method: `POST`\n  - Request body:\n```json\n{\n    \"username\": \"username_length_higher_than_6\",\n    \"name\": \"name of user\",\n    \"email\": \"valid_email@example.com\",\n    \"password\":\"a_good_password\",\n    \"gender\": 1\n}\n  ```\n  - Response:\n```json\n{\n\t\"status\": \"Created\",\n\t\"id\": 5,\n\t\"token\": \"\u003cjwt-token\u003e\"\n}\n```\n\n  - Description: available genders are: Male=1, Female=2, Other=3. use token to access authenticated endpoints.\n\n- **Login**\n  - Path: `/login/`\n  - Method: `POST`\n  - Request body:\n```json\n{\n\t\"username\": \"username\",\n\t\"password\": \"user_password\"\n}\n```\n  - Response body:\n```json\n{\n\t\"status\": \"Found\",\n\t\"id\": 5,\n\t\"token\": \"\u003cjwt-token\u003e\"\n}\n```\n\n- **Info**\n  - _**Auth**_ : need jwt token in headers as Bearer token.\n  - Path: `/info/{username}`\n  - Method: `GET`\n  - Response Body:\n```json\n{\n\t\"status\": \"Found\",\n\t\"data\": {\n\t\t\"id\": 3,\n\t\t\"username\": \"username\",\n\t\t\"name\": \"users name\",\n\t\t\"email\": \"valid_email@example.com\",\n\t\t\"gender\": 1\n\t}\n}\n```\n\n- **Delete**\n  - _**Auth**_\n  - Path: `/delete/`\n  - Method: `DELETE`\n  - Response Body:\n```json\n{\n\t\"status\": \"Deleted\",\n\t\"id\": 4\n}\n```\n\nCopyright 2023, Max Base\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasemax%2Fgraphneo4jgo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbasemax%2Fgraphneo4jgo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasemax%2Fgraphneo4jgo/lists"}