{"id":16092831,"url":"https://github.com/dleitee/todo-api","last_synced_at":"2025-04-05T20:11:16.134Z","repository":{"id":27450620,"uuid":"30929247","full_name":"dleitee/todo-api","owner":"dleitee","description":null,"archived":false,"fork":false,"pushed_at":"2018-06-05T16:28:12.000Z","size":8,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-18T19:16:06.746Z","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/dleitee.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":"2015-02-17T17:49:53.000Z","updated_at":"2023-03-08T04:30:58.000Z","dependencies_parsed_at":"2022-08-01T10:37:46.314Z","dependency_job_id":null,"html_url":"https://github.com/dleitee/todo-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/dleitee%2Ftodo-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dleitee%2Ftodo-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dleitee%2Ftodo-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dleitee%2Ftodo-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dleitee","download_url":"https://codeload.github.com/dleitee/todo-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247393574,"owners_count":20931813,"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-10-09T16:44:14.313Z","updated_at":"2025-04-05T20:11:16.108Z","avatar_url":"https://github.com/dleitee.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# todo-api\n\nExemplo de api restful utilizando modelo de autenticação básica.\n\n## Executar em localhost\n\nTenha instalado o [Node.js](http://nodejs.org/) e o [MongoDB](https://www.mongodb.org)\n\nInicie o serviço de banco de dados:\n\n```sh\n$ mongod\n```\n\nExecute a aplicação:\n\n```sh\n$ git clone https://github.com/dleitee/todo-api.git\n$ cd todo-api\n$ npm install\n$ npm start\n```\n\nNode app is running at localhost: [localhost:5000](http://localhost:5000/).\n\n## API\n\nUtilize a ferramenta [Postman](http://www.getpostman.com/) para executar os testes.\n\n***\n\n###[/users](http://localhost:5000/api/users)\n\n#####POST - Cadastra um novo usuário com os parâmetros\n- username\n- password\n\n#####GET - Retorna todos os usuários habilitados (*)\n\u003cbr\u003e\n_(*) Necessita autenticação_\n***\n\n###[/todos](http://localhost:5000/api/todos)\n\n#####POST - Cadastra uma nova tarefa com os parâmetros (*)\n- task\n\n#####GET - Retorna todas as tarefas cadastradas (*)\n\u003cbr\u003e\n_(*) Necessita autenticação_\n***\n\n###[/todos/:todo_id](http://localhost:5000/api/todos/:todo_id)\n\n#####GET - Retorna a tarefa indicada em :todo_id (*)\n\u003cbr\u003e\n#####PUT - Edita a tarefa indicada em :todo_id com o parâmetro: (*)\n- task\n\n#####DELETE - Deleta a tarefa indicada em :todo_id (*)\n\u003cbr\u003e\n_(*) Necessita autenticação_\n***\n\n\n###License\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdleitee%2Ftodo-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdleitee%2Ftodo-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdleitee%2Ftodo-api/lists"}