{"id":22246580,"url":"https://github.com/el634dev/chai-testing-challenges","last_synced_at":"2025-03-25T11:24:41.522Z","repository":{"id":234512499,"uuid":"789048643","full_name":"el634dev/chai-testing-challenges","owner":"el634dev","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-28T17:54:34.000Z","size":69,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-30T10:30:24.526Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/el634dev.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-04-19T15:54:05.000Z","updated_at":"2024-07-28T17:54:37.000Z","dependencies_parsed_at":"2024-07-28T19:05:30.262Z","dependency_job_id":"0dec48fd-145e-4cd3-8c3e-0c4a0bcac18b","html_url":"https://github.com/el634dev/chai-testing-challenges","commit_stats":null,"previous_names":["el634dev/chai-testing-challenges"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/el634dev%2Fchai-testing-challenges","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/el634dev%2Fchai-testing-challenges/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/el634dev%2Fchai-testing-challenges/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/el634dev%2Fchai-testing-challenges/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/el634dev","download_url":"https://codeload.github.com/el634dev/chai-testing-challenges/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245451221,"owners_count":20617477,"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-12-03T05:28:16.568Z","updated_at":"2025-03-25T11:24:41.499Z","avatar_url":"https://github.com/el634dev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# API Testing Challenges\n\nClone this repository, then run `npm install` to install all necessary packages and dependencies.\n\nCompleted all TODOs in `src/routes/message.js` and `src/test/message.js`. Then, ran tests to ensure that they pass.\n\n## Endpoints:\n\n#### Messages (TODOs)\n\n| Route | Method | Description |\n| ----------- | ----------- | ----------- |\n|http://localhost:3000/messages |GET | Gets all messagess |\n|http://localhost:3000/messages/{messageId} |GET | Get one message by id|\n|http://localhost:3000/messages | POST | add a new message |\n|http://localhost:3000/messages/{messageId}| PUT | update an exisiting message|\n|http://localhost:3000/messages/{messageId} | DELETE | delete a message |\n\n{messageId} = Route parameter = `:messageId`\n#### Users\n\n| Route | Method  | Description |\n| ----------- | ----------- | ----------- |\n|http://localhost:3000/users/ | GET | get all users |\n|http://localhost:3000/users/{userId} |GET | Get one user by id|\n|http://localhost:3000/users | POST | add a new user to the database |\n|http://localhost:3000/users/{userId}| PUT | update an exisiting user|\n|http://localhost:3000/users/{userId} | DELETE | delete a user |\n\n{userId} = Route parameter = `:userId`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fel634dev%2Fchai-testing-challenges","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fel634dev%2Fchai-testing-challenges","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fel634dev%2Fchai-testing-challenges/lists"}