{"id":16259530,"url":"https://github.com/devadedeji/linkbum-backend","last_synced_at":"2025-03-19T22:30:35.829Z","repository":{"id":128909223,"uuid":"580962235","full_name":"DevAdedeji/Linkbum-backend","owner":"DevAdedeji","description":"Backend part of linkbum","archived":false,"fork":false,"pushed_at":"2023-11-28T13:33:42.000Z","size":306,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-17T11:21:32.919Z","etag":null,"topics":["bcrypt","epxressjs","jsonwebtoken","mongodb","mongoose","nodejs"],"latest_commit_sha":null,"homepage":"https://linkbum.cyclic.app/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DevAdedeji.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2022-12-21T22:42:19.000Z","updated_at":"2023-04-11T16:01:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"fa547f07-dce4-4e65-9768-460282809cb6","html_url":"https://github.com/DevAdedeji/Linkbum-backend","commit_stats":{"total_commits":47,"total_committers":1,"mean_commits":47.0,"dds":0.0,"last_synced_commit":"6294beea3fd4603ccedd69836d96d608100af9e1"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevAdedeji%2FLinkbum-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevAdedeji%2FLinkbum-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevAdedeji%2FLinkbum-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevAdedeji%2FLinkbum-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DevAdedeji","download_url":"https://codeload.github.com/DevAdedeji/Linkbum-backend/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244515595,"owners_count":20464916,"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":["bcrypt","epxressjs","jsonwebtoken","mongodb","mongoose","nodejs"],"created_at":"2024-10-10T16:03:28.794Z","updated_at":"2025-03-19T22:30:35.544Z","avatar_url":"https://github.com/DevAdedeji.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Linkbum\n\nLinkbum is a platform where users can add all their links to one shareable link. Got the idea from linktr.ee\n\n## FEATURES\n\n- Authentication (Registration and Login)\n- Add links, update a link, delete a link\n- Update bio, account information, profile picture\n\n## Live link\n\n- https://linkbum.cyclic.app\n\n## Endpoints\n\n- Register: Endpoint is /api/auth/register, Method is post and it's expecting the JSON data;\n\n```\n{\"username\":\"devadedeji\", \"email\":\"sample@gmail.com\", \"password\":\"myPassword\", \"gender\":\"male\"}\n```\n\nNote: All fields are required.\nGender can either be male, female or others, after regstering, users should be directed to te login page.\n\n- Login: Login endpoint is /api/auth/login, Method is post and its expecting the JSON data;\n\n```\n{\"username\":\"devadedeji\", \"password\":\"myPassword\"}\n```\n\nNote: All fields are required.\nThe response includes a token which will be used for authentication and authorization\n\n- Get user details: Endpoint is /api/user/:username\n\n* Get logged in user details: Endpoint is /api/user/me/details, send the token as authorization in the request header\n\n* Update user details: Endpoint is /api/user/me, send JSON data;\n\n```\n{\"username\":\"devadedeji\", \"email\":\"sample@gmail.com\", \"gender\":\"male\", \"bio\": \"Hi, I'm a software engineer\"}\n```\n\n- Add a new link: Endpoint is /api/link/post, expecting the json data with token as authorization in the request header;\n\n```\n{\"title\":\"My Link\", \"link\":\"https://mylink.com\"}\n```\n\n- Updating a link: Endpoint is /api/link/post/:id, Method is PUT, and id is the id of the link, expecting the json data with token as authorization in the request header;\n\n```\n{\"title\":\"My Link\", \"link\":\"https://mylink.com\"}\n```\n\n- Updating a link: Endpoint is /api/link/post/:id, Method is DELETE, and id is the id of the link to be deleted\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevadedeji%2Flinkbum-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevadedeji%2Flinkbum-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevadedeji%2Flinkbum-backend/lists"}