{"id":15174002,"url":"https://github.com/1manuelc/nlw16-trilha-nodejs","last_synced_at":"2026-03-06T20:31:22.176Z","repository":{"id":247978723,"uuid":"827390661","full_name":"1manuelc/nlw16-trilha-nodejs","owner":"1manuelc","description":"Projeto backend de API desenvolvido na trilha de Node.js na Next Level Week 16 da Rocketseat.","archived":false,"fork":false,"pushed_at":"2024-07-19T15:50:47.000Z","size":63,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-06T06:15:52.521Z","etag":null,"topics":["api","dayjs","fastify","nodejs","prisma","tsx","typescript","zod"],"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/1manuelc.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-07-11T15:05:26.000Z","updated_at":"2024-07-19T15:50:50.000Z","dependencies_parsed_at":"2024-09-23T04:03:08.434Z","dependency_job_id":"83b63744-2339-40a0-bd94-b61518c7731b","html_url":"https://github.com/1manuelc/nlw16-trilha-nodejs","commit_stats":{"total_commits":21,"total_committers":2,"mean_commits":10.5,"dds":0.09523809523809523,"last_synced_commit":"6dd9aaa1bcb7581322b9c36baf7698c6771ad31d"},"previous_names":["1manuelc/nlw16-trilha-nodejs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/1manuelc/nlw16-trilha-nodejs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1manuelc%2Fnlw16-trilha-nodejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1manuelc%2Fnlw16-trilha-nodejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1manuelc%2Fnlw16-trilha-nodejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1manuelc%2Fnlw16-trilha-nodejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/1manuelc","download_url":"https://codeload.github.com/1manuelc/nlw16-trilha-nodejs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1manuelc%2Fnlw16-trilha-nodejs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30196173,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T19:07:06.838Z","status":"ssl_error","status_checked_at":"2026-03-06T18:57:34.882Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["api","dayjs","fastify","nodejs","prisma","tsx","typescript","zod"],"created_at":"2024-09-27T11:22:48.397Z","updated_at":"2026-03-06T20:31:22.151Z","avatar_url":"https://github.com/1manuelc.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Backend plann.er\n\u003cdiv\u003e\n  \u003cimg src='https://img.shields.io/badge/node.js-6DA55F?style=for-the-badge\u0026logo=node.js\u0026logoColor=white' alt='Node.js'\u003e\n  \u003cimg src='https://img.shields.io/badge/typescript-%23007ACC.svg?style=for-the-badge\u0026logo=typescript\u0026logoColor=white' alt='TypeScript'\u003e\n  \u003cimg src='https://img.shields.io/badge/fastify-%23000000.svg?style=for-the-badge\u0026logo=fastify\u0026logoColor=white' alt='Fastify'\u003e\n  \u003cimg src='https://img.shields.io/badge/Prisma-3982CE?style=for-the-badge\u0026logo=Prisma\u0026logoColor=white' alt='Prisma'\u003e\n  \u003cimg src='https://img.shields.io/badge/zod-%233068b7.svg?style=for-the-badge\u0026logo=zod\u0026logoColor=white' alt='Zod'\u003e\n\u003c/div\u003e\n\nEste projeto contém uma API para a aplicação [plann.er](https://github.com/1manuelc/nlw16-trilha-react), fornecendo dados de viagens, participantes, atividades e links editáveis através da interface.\n\n\n## Funcionalidades\n* Fornecimento de dados para o Frontend específico através de rotas bem definidas.\n* Exibição aprimorada de erros.\n\n## Implementação\nA API foi feita com `Node.js` e construído utilizando `Typescript + Fastify`, utilizando como base as dependências:\n* `prisma`: para mapear o banco de dados local e fornecer operações simplificadas.\n* `dayjs`: para operações com datas.\n* `nodemailer`: para mandar e-mail no tempo de execução.\n* `zod`: para validar tipos de dados em requisições.\n* `tsx`: para executar arquivos `.ts`.\n\n## Roteamento\nVocê pode importar o arquivo [`routes.json`](https://github.com/1manuelc/nlw16-trilha-nodejs/blob/main/routes.json) de **formato Insomnia V4** para sua ferramenta de testes de API's.\n\n## Executando localmente\nPara executar a API, você precisa:\n\n1. Clonar este repositório ou fazer um fork: \u003cbr/\u003e\n`git clone https://github.com/1manuelc/nlw16-trilha-nodejs.git`\n\n2. Instalar as dependências necessárias á partir do seu gerenciador de pacotes (não é obrigatório ser npm): \u003cbr/\u003e\n`npm i`\n\n3. Executar o comando: \u003cbr/\u003e\n`npm run dev`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1manuelc%2Fnlw16-trilha-nodejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F1manuelc%2Fnlw16-trilha-nodejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1manuelc%2Fnlw16-trilha-nodejs/lists"}