{"id":19731019,"url":"https://github.com/stynw7/ureeka_api_project","last_synced_at":"2026-05-08T14:46:16.370Z","repository":{"id":244498551,"uuid":"815429098","full_name":"StyNW7/Ureeka_API_Project","owner":"StyNW7","description":"As a Ureeka Member, I'm creating API Project based on the instruction given","archived":false,"fork":false,"pushed_at":"2024-06-15T07:56:21.000Z","size":79,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-26T22:49:21.601Z","etag":null,"topics":["api","backend","laravel","postman"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/StyNW7.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":"2024-06-15T06:17:14.000Z","updated_at":"2024-06-15T07:56:25.000Z","dependencies_parsed_at":"2024-06-15T06:43:33.125Z","dependency_job_id":"8a1fd0ae-2b84-43e7-92cc-44a0a4528739","html_url":"https://github.com/StyNW7/Ureeka_API_Project","commit_stats":null,"previous_names":["stynw7/ureeka_api_project"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/StyNW7/Ureeka_API_Project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StyNW7%2FUreeka_API_Project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StyNW7%2FUreeka_API_Project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StyNW7%2FUreeka_API_Project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StyNW7%2FUreeka_API_Project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StyNW7","download_url":"https://codeload.github.com/StyNW7/Ureeka_API_Project/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StyNW7%2FUreeka_API_Project/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32785391,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"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":["api","backend","laravel","postman"],"created_at":"2024-11-12T00:18:52.582Z","updated_at":"2026-05-08T14:46:16.337Z","avatar_url":"https://github.com/StyNW7.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ureeka API Project\n\n## Introduction\nAs a member of Ureeka, I have a project to make an API and also make a documentation using Postman\n\n## Library Management API Documentation\nWelcome to the Library Management API documentation. This API provides endpoints to manage users and books within a library system.\n\n### Endpoints\n\n#### 1. Login\nDescription: Authenticate a user to obtain an access token.\n\nEndpoint: POST /api/login\n\nUsage: Use this request to log in with your registered credentials. On successful authentication, you'll receive an access token to access protected endpoints.\n\n#### 2. Register\nDescription: Register a new user.\n\nEndpoint: POST /api/register\n\nUsage: Register a new user with a unique email address. Provide name, email, password, and password confirmation in the request body to create a new user account.\n\n#### 3. Get User\nDescription: Retrieve user details.\n\nEndpoint: GET /api/user\n\nUsage: Fetch details of the currently authenticated user. Include the access token obtained from the login request in the Authorization header as a Bearer token.\n\n#### 4. View Books\nDescription: Retrieve all books.\n\nEndpoint: GET /api/books\n\nUsage: Retrieve a list of all books available in the library. Requires authentication; include the access token in the Authorization header.\n\n#### 5. Add Books\nDescription: Add a new book (Admin only).\n\nEndpoint: POST /api/books\n\nUsage: Add a new book to the library collection. Only accessible to users with admin privileges. Provide book details including title, ISBN, author, and year of publication in the request body.\n\n#### 6. Update Books\nDescription: Update an existing book (Admin only).\n\nEndpoint: PUT /api/books/{id}\n\nUsage: Update details of an existing book identified by {id}. Only accessible to users with admin privileges. Provide updated book details in the request body.\n\n#### 7. Delete Books\nDescription: Delete a book (Admin only).\n\nEndpoint: DELETE /api/books/{id}\n\nUsage: Delete a book from the library collection identified by {id}. Only accessible to users with admin privileges. No request body is required; just provide the book ID in the endpoint URL.\n\n### Getting Started\n#### Authentication:\n\nStart by logging in with your credentials using the Login request. Copy the access token from the response.\n\nUse the obtained token as a Bearer token in the Authorization header for subsequent requests.\n\n#### Managing Books:\n\nUse View Books to see all available books.\n\nAdd new books using Add Books, ensuring to provide all required details.\n\nUpdate existing books with Update Books, specifying the book ID and updated information.\n\nDelete unwanted books using Delete Books, supplying the book ID to remove from the collection.\n\n#### User Management:\n\nRetrieve user details with Get User to view your own profile information.\n\n### Notes:\nEnsure proper authentication for requests requiring admin privileges (Add Books, Update Books, Delete Books).\n\nValidate request bodies to meet API requirements, such as unique email addresses for user registration and complete book details for Add Books and Update Books.\n\n## Postman Documentation Link:\n\u003ca href=\"https://documenter.getpostman.com/view/35383957/2sA3XQh2MW\"\u003ePostman Documentation Link\u003c/a\u003e\n\n## Made By\nName: Stanley Nathanael Wijaya\n\u003cbr\u003e\u003cbr\u003e\n\u003ccode\u003eAlways strive for excellence ✨✨\u003c/code\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstynw7%2Fureeka_api_project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstynw7%2Fureeka_api_project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstynw7%2Fureeka_api_project/lists"}