{"id":36858688,"url":"https://github.com/noted-eip/notes-service","last_synced_at":"2026-01-12T14:48:10.176Z","repository":{"id":38313573,"uuid":"487275016","full_name":"noted-eip/notes-service","owner":"noted-eip","description":"Service responsible for managing notes","archived":false,"fork":false,"pushed_at":"2024-01-26T10:04:57.000Z","size":13256,"stargazers_count":4,"open_issues_count":6,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-01-26T11:57:53.978Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/noted-eip.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/CONTRIBUTING.md","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}},"created_at":"2022-04-30T12:44:51.000Z","updated_at":"2023-12-07T20:17:25.000Z","dependencies_parsed_at":"2023-02-17T17:00:23.944Z","dependency_job_id":"c55f2e3c-f678-468b-8cdb-fc377eb0eb30","html_url":"https://github.com/noted-eip/notes-service","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/noted-eip/notes-service","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noted-eip%2Fnotes-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noted-eip%2Fnotes-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noted-eip%2Fnotes-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noted-eip%2Fnotes-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/noted-eip","download_url":"https://codeload.github.com/noted-eip/notes-service/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noted-eip%2Fnotes-service/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28340410,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T12:22:26.515Z","status":"ssl_error","status_checked_at":"2026-01-12T12:22:10.856Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2026-01-12T14:48:09.058Z","updated_at":"2026-01-12T14:48:10.162Z","avatar_url":"https://github.com/noted-eip.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Notes service\n___\nService responsible for managing notes and recommandations.\n\n\n## Build\n\nTo run the service you only need to have [golang](https://go.dev) or [docker](https://docs.docker.com/get-docker/) installed.\n\nAfter cloning the repository run:\n\n```\nmake update-submodules\n```\nThis will update the git submodules referencing our gRPC models and gRPC API definition.\n\n\nYou can then build the project by running the following command :\n\n```\nmake re\n```\n\nOr by building and running the Dockerfile.\n\n## Tests\n\nIn order to test the application, you have to have your MongoDB database on the side.\n\nIt is as easy as running `go test`. `-v` flag for verbose is recommended.\n\n## Configuration\n\n### CLI configuration\n\nYou can either use the env variable or the flag to set the corresponding values.\n\n| Env Name                           | Flag Name           | Default                     | Description                               |\n|------------------------------------|---------------------|-----------------------------|-------------------------------------------|\n| `NOTES_SERVICE_PORT`            | `--port`            | `3000`                      | The port the application shall listen on. |\n| `NOTES_SERVICE_ENV`             | `--env`             | `production`                | Either `production` or `development`.     |\n| `NOTES_SERVICE_MONGO_URI`       | `--mongo-uri`       | `mongodb://localhost:27017` | Address of the MongoDB server.            |\n| `NOTES_SERVICE_MONGO_DB_NAME`   | `--mongo-db-name`   | `notes-service`          | Name of the Mongo database.               |\n| `NOTES_SERVICE_ACCOUNT_SERVICE_URL`   | `--account-service-url`   | `accounts.noted.koyeb:3000`          | Account service's address               |\n| `NOTES_SERVICE_JWT_PRIVATE_KEY`   | `--jwt-private-key`   |           | JWT private key used for authentification               |\n| `NOTES_SERVICE_GMAIL_SUPER_SECRET`   | `--gmail-super-secret`   |         | Gmail secret to send emails.               |\n\n### Other env variables\n\n| Env Name                           | Description                               |\n|------------------------------------|-------------------------------------------|\n| `JSON_GOOGLE_CREDS_B64`            | Google credentials used to connect to Google's natural API, in json, converted in base 64  |\n| `GOOGLE_API_KEY`            | Google API key used to connect to Google's knowledge graph|\n| `OPENAI_API_KEY`            | OpenAI API key used to connect to OpenAI's GPT|\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoted-eip%2Fnotes-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoted-eip%2Fnotes-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoted-eip%2Fnotes-service/lists"}