{"id":21195147,"url":"https://github.com/diglopes/conduit-api","last_synced_at":"2025-03-14T21:36:52.640Z","repository":{"id":40765891,"uuid":"269049923","full_name":"diglopes/conduit-api","owner":"diglopes","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-24T02:49:20.000Z","size":2702,"stargazers_count":0,"open_issues_count":21,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-21T14:14:25.984Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/diglopes.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":"2020-06-03T09:48:06.000Z","updated_at":"2020-06-05T16:53:26.000Z","dependencies_parsed_at":"2023-02-13T13:15:48.543Z","dependency_job_id":null,"html_url":"https://github.com/diglopes/conduit-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/diglopes%2Fconduit-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diglopes%2Fconduit-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diglopes%2Fconduit-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diglopes%2Fconduit-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diglopes","download_url":"https://codeload.github.com/diglopes/conduit-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243651843,"owners_count":20325552,"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":[],"created_at":"2024-11-20T19:26:16.435Z","updated_at":"2025-03-14T21:36:52.603Z","avatar_url":"https://github.com/diglopes.png","language":"JavaScript","readme":"# Conduit API\n\n## Roadmap\n\n### Endpoints\n\n#### User\n\n- [ ] **POST** /api/users - Registration route\n- [ ] **POST** /api/users/login - Authentication route\n- [ ] **GET** /api/user - Get current user (auth required)\n- [ ] **PUT** /api/user - Update user data (auth required)\n\n#### Profile\n\n- [ ] **POST** /api/profiles/:username - Returns a profile (optional auth)\n- [ ] **POST** /api/profiles/:username/follow - Follows an user (auth required)\n- [ ] **DELETE** /api/profiles/:username/follow - Unfollows an user (auth required)\n\n\n#### Article\n\n- [ ] **GET** /api/articles - Returns most recent articles globally by default\n  - [ ] Filters: tag, author and favorited\n  - [ ] Limit (20 default) and offset (0 default)\n- [ ] **GET** /api/articles/feed - Returns multiple articles created by followed users ordered by most recent first (auth required)\n  - [ ] Limit (20 default) and offset (0 default)\n- [ ] **GET** /api/articles/:slug - Returns a single article\n- [ ] **POST** /api/articles - Creates a article (auth required)\n- [ ] **PUT** /api/articles/:slug - Updates a article (auth required)\n- [ ] **DELETE** /api/articles/:slug - Deletes a article (auth required)\n- [ ] **POST** /api/articles/:slug/comments - Adds a comment (auth required)\n- [ ] **GET** /api/articles/:slug/comments  - Gets comments from a article (auth optional)\n- [ ] **DELETE** /api/articles/:slug/comments/:id - Deletes a comment from a article (auth required)\n- [ ] **POST** /api/articles/:slug/favorite - Favorites a article (auth required)\n- [ ] **DELETE** /api/articles/:slug/favorite - Unfavorites a article (auth required)\n\n#### Tags\n\n- [ ] **GET** /api/tags - Returns a list of tags","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiglopes%2Fconduit-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiglopes%2Fconduit-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiglopes%2Fconduit-api/lists"}