{"id":22126034,"url":"https://github.com/gustavo-developer/backend-accidents","last_synced_at":"2026-05-16T00:38:39.109Z","repository":{"id":108551249,"uuid":"496396580","full_name":"Gustavo-Developer/Backend-Accidents","owner":"Gustavo-Developer","description":"Backend API in NodeJs","archived":false,"fork":false,"pushed_at":"2022-05-28T03:34:19.000Z","size":41,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T08:18:05.263Z","etag":null,"topics":["nodejs","prisma"],"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/Gustavo-Developer.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":"2022-05-25T21:33:52.000Z","updated_at":"2022-05-27T04:53:02.000Z","dependencies_parsed_at":"2023-06-26T22:24:29.210Z","dependency_job_id":null,"html_url":"https://github.com/Gustavo-Developer/Backend-Accidents","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Gustavo-Developer/Backend-Accidents","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gustavo-Developer%2FBackend-Accidents","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gustavo-Developer%2FBackend-Accidents/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gustavo-Developer%2FBackend-Accidents/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gustavo-Developer%2FBackend-Accidents/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Gustavo-Developer","download_url":"https://codeload.github.com/Gustavo-Developer/Backend-Accidents/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gustavo-Developer%2FBackend-Accidents/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274117225,"owners_count":25225101,"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-09-07T02:00:09.463Z","response_time":67,"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":["nodejs","prisma"],"created_at":"2024-12-01T16:49:51.484Z","updated_at":"2025-10-28T15:46:19.131Z","avatar_url":"https://github.com/Gustavo-Developer.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  Accident 🚀\n  \u003cbr\u003e\n  \u003cbr\u003e\n\n\u003c/p\u003e\n\n*Objetivo*\n*Modele um sistema para uma empresa de proteção veicular.*\n\n- Nesse sistema existem clientes e terceiros.\n- Os clientes podem criar uma conta inserindo informações básicas de cadastro (nome,\ncpf, data de nascimento, endereço, cidade).\n- Os clientes podem editar alguns dados cadastrados cadastro (endereço, cidade).\n- Os clientes podem criar um evento de acidente, onde será possível informar o veículo\n- envolvido no acidente e o(s) terceiro(s).\n- Os terceiros são cadastrados quando é criado um acidente, se não houver um registro\nprévio\n- na base de dados.\n- Todos os usuários (clientes e terceiros) precisam ter documentos associados as suas\ncontas.\n- Quando houver o cadastro de um cliente que já foi envolvido como terceiro em um\nacidente, é preciso migrar o usuário para cliente sem perder o vínculo criado no\nacidente. \n\n\n```bash\n\n# Rodar aplicação\n$ npm run dev\n\n# Rodar Migrates\n$ npx prisma migrate dev\n\n# Rodar o Banco de Dados Online com o Prisma\n$ npx prisma studio\n\n```\n\n\n**FALTA FAZER**\n\n[] Editar clientes\n[] Excluir clientes\n[] Listar todos os clientes\n\n[] Listar todos os acidentes\n\n[] Subir banco de dados Online\n\n[] Subir Swagger\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgustavo-developer%2Fbackend-accidents","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgustavo-developer%2Fbackend-accidents","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgustavo-developer%2Fbackend-accidents/lists"}