{"id":21016113,"url":"https://github.com/protontype/protontype-sequelize-example","last_synced_at":"2025-10-04T03:17:03.855Z","repository":{"id":106512581,"uuid":"65865288","full_name":"protontype/protontype-sequelize-example","owner":"protontype","description":"Example how to use Protontype API with Sequelize ORM","archived":false,"fork":false,"pushed_at":"2018-05-10T10:45:06.000Z","size":62,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-27T00:16:03.089Z","etag":null,"topics":["protontype","protontype-sequelize","rest-api","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/protontype.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":"2016-08-17T01:17:19.000Z","updated_at":"2018-05-10T10:45:08.000Z","dependencies_parsed_at":"2023-07-18T12:01:46.441Z","dependency_job_id":null,"html_url":"https://github.com/protontype/protontype-sequelize-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/protontype/protontype-sequelize-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/protontype%2Fprotontype-sequelize-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/protontype%2Fprotontype-sequelize-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/protontype%2Fprotontype-sequelize-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/protontype%2Fprotontype-sequelize-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/protontype","download_url":"https://codeload.github.com/protontype/protontype-sequelize-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/protontype%2Fprotontype-sequelize-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278258713,"owners_count":25957334,"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","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["protontype","protontype-sequelize","rest-api","typescript"],"created_at":"2024-11-19T10:12:16.754Z","updated_at":"2025-10-04T03:17:03.828Z","avatar_url":"https://github.com/protontype.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Protontype Framework](https://github.com/protontype/protontype) example using [protontype-sequelize](https://github.com/protontype/protontype-sequelize) module\n\n## Run example\n - open terminal\n - git clone https://github.com/protontype/protontype-sequelize-sample.git\n - npm install\n - npm run build\n - npm start\n\n### Endpoints availables\n#### GET Method\n- http://localhost:3000/tasks  (List all tasks)\n- http://localhost:3000/tasks/:id (Get task by id)\n- http://localhost:3000/users (List all users)\n- http://localhost:3000/users/:id (Get user by id)\n \n#### POST Method\n- http://localhost:3000/tasks (Creates task)\n- http://localhost:3000/users (Creates user)\n\n#### DELETE Method\n- http://localhost:3000/tasks/:id (Remove task)\n- http://localhost:3000/users/:id (Remove user)\n\n#### PUT Method\n- http://localhost:3000/tasks/:id (Update task)\n- http://localhost:3000/users/:id (Update user)\n\n### Request body\n#### Tasks\n```json\n{\n  \"title\": \"Make something\",\n  \"done\": false,\n  \"userId\": 1\n}\n```\n\n#### Users\n```json\n{\n  \"name\": \"Bob\",\n  \"password\": \"123456\",\n  \"email\": \"bob@mail.com\"\n}\n```\n\n## Development environment (linked module)\n\n**Cloning ProtonType module**\n\n- git clone https://github.com/protontype/protontype.git\n- npm install\n- npm link\n\n**Cloning and install example**\n\n - git clone https://github.com/protontype/protontype-sequelize-sample.git\n- npm install\n- npm link protontype\n- tsc\n- npm start\n\n## Requirements\nNodeJS 6.x or later\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprotontype%2Fprotontype-sequelize-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprotontype%2Fprotontype-sequelize-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprotontype%2Fprotontype-sequelize-example/lists"}