{"id":19483507,"url":"https://github.com/librity/ignite_todo_middlewares","last_synced_at":"2026-04-11T02:56:36.277Z","repository":{"id":99704162,"uuid":"347529747","full_name":"librity/ignite_todo_middlewares","owner":"librity","description":"Rocket Seat - Ignite - NodeJS - Challenge 2 - A to-do list backend made with NodeJS and Express. ","archived":false,"fork":false,"pushed_at":"2022-02-25T11:57:33.000Z","size":87,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-08T07:38:46.135Z","etag":null,"topics":["challenge","express","ignite","nodejs","rest-api","rocketseat","todolist"],"latest_commit_sha":null,"homepage":"","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/librity.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":"2021-03-14T02:51:40.000Z","updated_at":"2022-02-25T11:57:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"e1ed5a69-2042-448f-9ded-ef0961c04741","html_url":"https://github.com/librity/ignite_todo_middlewares","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"rocketseat-education/ignite-template-trabalhando-com-middlewares","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/librity%2Fignite_todo_middlewares","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/librity%2Fignite_todo_middlewares/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/librity%2Fignite_todo_middlewares/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/librity%2Fignite_todo_middlewares/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/librity","download_url":"https://codeload.github.com/librity/ignite_todo_middlewares/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240718943,"owners_count":19846482,"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":["challenge","express","ignite","nodejs","rest-api","rocketseat","todolist"],"created_at":"2024-11-10T20:15:22.811Z","updated_at":"2026-04-11T02:56:31.257Z","avatar_url":"https://github.com/librity.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rocket Seat Ignite - To do Backend w/ Middlewares\n\n## Table of Contents\n\n- [About](#about)\n- [Getting Started](#getting_started)\n- [Endpoints](#endpoints)\n- [Resources](#resources)\n\n## About \u003ca name = \"about\"\u003e\u003c/a\u003e\n\nA to-do list backend made with NodeJS, Express and Jest.\n\n## Getting Started \u003ca name = \"getting_started\"\u003e\u003c/a\u003e\n\n### Prerequisites\n\n- `node \u003e= 12.0.0`\n- `yarn \u003e= 1.22.0`\n\n### Installing\n\n1. Clone this repo locally and install the required packages:\n\n```bash\n$ git clone https://github.com/librity/ignite_todo_middlewares.git\n$ cd ignite_todo_middlewares\n$ yarn install\n```\n\n2. Start a dev server:\n\n```bash\n$ yarn dev\n```\n\n3. Import the Insomnia workspace from `./insomnia/workspace.json`\n   and run some requests.\n\n### Testing\n\nRun tests with jest:\n\n```bash\n$ yarn test\n```\n\n## Endpoints \u003ca name = \"endpoints\"\u003e\u003c/a\u003e\n\n`Users`\n\n- `GET` http://localhost:3333/users/:id\n- `POST` http://localhost:3333/users\n- `PATCH` http://localhost:3333/users/:id/pro\n\n`Todos`\n\n- `GET` http://localhost:3333/todos\n- `POST` http://localhost:3333/todos\n- `PUT` http://localhost:3333/todos/:id\n- `PATCH` http://localhost:3333/todos/:id/done\n- `DELETE` http://localhost:3333/todos/:id\n\n## Resources \u003ca name = \"resources\"\u003e\u003c/a\u003e\n\n- https://rapidapi.com/blog/put-vs-patch/\n- https://github.com/uuidjs/uuid#quickstart\n- https://stackoverflow.com/questions/18875292/passing-variables-to-the-next-middleware-using-next-in-express-js\n- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array\n- https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#2xx_success\n- https://stackoverflow.com/questions/10865025/merge-flatten-an-array-of-arrays\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibrity%2Fignite_todo_middlewares","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flibrity%2Fignite_todo_middlewares","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibrity%2Fignite_todo_middlewares/lists"}