{"id":19252679,"url":"https://github.com/arthur-llevy/passin-api","last_synced_at":"2026-04-13T03:49:54.980Z","repository":{"id":231125250,"uuid":"780971233","full_name":"Arthur-Llevy/passin-api","owner":"Arthur-Llevy","description":"API de gerenciamento de eventos","archived":false,"fork":false,"pushed_at":"2024-04-07T00:07:10.000Z","size":802,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-05T07:13:15.697Z","etag":null,"topics":["fastify","nodejs","prisma","sqlite","swagger","typescript","zod"],"latest_commit_sha":null,"homepage":"https://passin-api-pk9v.onrender.com/docs/static/index.html","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/Arthur-Llevy.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}},"created_at":"2024-04-02T14:05:39.000Z","updated_at":"2024-04-07T00:07:50.000Z","dependencies_parsed_at":"2024-04-07T02:08:35.559Z","dependency_job_id":"8ec5dc8c-96dc-4902-8f17-6e324c3880a1","html_url":"https://github.com/Arthur-Llevy/passin-api","commit_stats":null,"previous_names":["arthur-llevy/nlw-unite-rocketseat","arthur-llevy/passin-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arthur-Llevy%2Fpassin-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arthur-Llevy%2Fpassin-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arthur-Llevy%2Fpassin-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arthur-Llevy%2Fpassin-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Arthur-Llevy","download_url":"https://codeload.github.com/Arthur-Llevy/passin-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240347947,"owners_count":19787236,"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":["fastify","nodejs","prisma","sqlite","swagger","typescript","zod"],"created_at":"2024-11-09T18:27:57.513Z","updated_at":"2026-04-13T03:49:49.938Z","avatar_url":"https://github.com/Arthur-Llevy.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Português-Brasil]\n# Pass.in API\n\n# Introdução\nOpa, tudo bom? O Pass.in API foi um projeto back-end desenvolvido no evento NLW-Unite da [Rocketseat](https://github.com/Rocketseat), que tem como foco fazer um projeto prático em três aulas usando uma tecnologia escolhida, neste caso, o NodeJS. \n\n---\n\n## O que é / como funciona o Pass.in?\nO Pass.in é uma API que permite o cliente criar novos eventos, cadastrar participantes e realizar Check-ins dos participantes dele. \n\n![Imagem do projeto](./src/project-images/image01.png)\n\n## Funcionalidades\n### Rota: eventos\n- [x] - Criar eventos, contendo nome, descrição e máximo de participantes\n- [x] - Ver todos os eventos criados\n- [x] - Ver quais participantes estão cadastrados em um evento específico\n- [x] - Ver a descrição de um evento específico\n\n### Rota: participantes\n- [x] - Cadastrar um participante em um evento, enviando nome e e-mail\n- [x] - Ver as informações de um participantes\n\n### Rota: check-ins\n- [x] - Fazer o check-in de um participante em um evento\n\n## Tecnologias usadas\n![JavaScript](https://img.shields.io/badge/javascript-%23323330.svg?style=for-the-badge\u0026logo=javascript\u0026logoColor=%23F7DF1E)\n![TypeScript](https://img.shields.io/badge/typescript-%23007ACC.svg?style=for-the-badge\u0026logo=typescript\u0026logoColor=white)\n![NodeJS](https://img.shields.io/badge/node.js-6DA55F?style=for-the-badge\u0026logo=node.js\u0026logoColor=white)\n![Fastify](https://img.shields.io/badge/fastify-%23000000.svg?style=for-the-badge\u0026logo=fastify\u0026logoColor=white)\n![Swagger](https://img.shields.io/badge/-Swagger-%23Clojure?style=for-the-badge\u0026logo=swagger\u0026logoColor=white)\n![Prisma](https://img.shields.io/badge/Prisma-3982CE?style=for-the-badge\u0026logo=Prisma\u0026logoColor=white)\n![SQLite](https://img.shields.io/badge/sqlite-%2307405e.svg?style=for-the-badge\u0026logo=sqlite\u0026logoColor=white)\n\n---\n\n## Como iniciar o projeto?\n1. Faça o clone deste repositório usando o git ou apenas baixando o projeto em \"code \u003e download zip\"\n\t```bash\n\tgit clone https://github.com/Arthur-Llevy/nlw-unite-rocketseat.git\n\t```\n\n2. Extraia o projeto e abra ele no seu editor de código\n3. Vá para a pasta \"src\" manualmente ou pela linha de comando\n \t```bash\n\tcd src\n\t```\n4. Baixe as dependências do projeto\n \t```bash\n\tnpm i\n\t```\t\n5. Execute o comando para iniciar o servidor \n \t```bash\n\tnpx tsx watch --env-file .env ./server.ts \n\t```\n6. Será iniciado um servidor local na porta 3333 - http://localhost:3333/\n7. Caso queira acessar a interface gráfica (swagger) vá para a rota [http://localhost:3333/docs/](http://localhost:3333/docs/)\n\n### Visualizar base de dados\n1. Execute o seguinte comando para ver a interface gráfica do banco de dados \n \t```bash\n\tnpx prisma studio\n\t```\n2. Será iniciada uma porta em http://localhost:5555/\n\nPronto! A API já está funcionando\n\nObrigado!\n\n---\n# [English]\n# Pass.in API\n\n\n# Introduction\nOops, how are you? The Pass.in API was a back-end project developed at the [Rocketseat](https://github.com/Rocketseat) NLW-Unite event, which focuses on doing a practical project in three classes using a chosen technology, in this case, NodeJS.\n\n---\n\n## What is / how does Pass.in work?\nPass.in is an API that allows customers to create new events, register participants and perform Check-ins for their participants.\n\n![Project image](./src/project-images/image01.png)\n\n## Functionalities\n### Route: events\n- [x] - Create events, containing name, description and maximum number of participants\n- [x] - View all created events\n- [x] - See which participants are registered for a specific event\n- [x] - View the description of a specific event\n\n### Route: participants\n- [x] - Register a participant in an event, sending name and email\n- [x] - View a participant's information\n\n### Route: check-ins\n- [x] - Check in a participant at an event\n\n## Technologies used\n![JavaScript](https://img.shields.io/badge/javascript-%23323330.svg?style=for-the-badge\u0026logo=javascript\u0026logoColor=%23F7DF1E)\n![TypeScript](https://img.shields.io/badge/typescript-%23007ACC.svg?style=for-the-badge\u0026logo=typescript\u0026logoColor=white)\n![NodeJS](https://img.shields.io/badge/node.js-6DA55F?style=for-the-badge\u0026logo=node.js\u0026logoColor=white)\n![Fastify](https://img.shields.io/badge/fastify-%23000000.svg?style=for-the-badge\u0026logo=fastify\u0026logoColor=white)\n![Swagger](https://img.shields.io/badge/-Swagger-%23Clojure?style=for-the-badge\u0026logo=swagger\u0026logoColor=white)\n![Prisma](https://img.shields.io/badge/Prisma-3982CE?style=for-the-badge\u0026logo=Prisma\u0026logoColor=white)\n![SQLite](https://img.shields.io/badge/sqlite-%2307405e.svg?style=for-the-badge\u0026logo=sqlite\u0026logoColor=white)\n\n---\n\n## How to start the project?\n1. Clone this repository using git or just download the project from \"code \u003e download zip\"\n```bash\ngit clone https://github.com/Arthur-Llevy/nlw-unite-rocketseat.git\n```\n\n2. Extract the project and open it in your code editor\n3. Go to the \"src\" folder manually or via command line\n  ```bash\ncd src\n```\n4. Download project dependencies\n  ```bash\nnpm i\n```\n5. Run the command to start the server\n  ```bash\nnpx tsx watch --env-file .env ./server.ts\n```\n6. A local server will be started on port 3333 - http://localhost:3333/\n7. If you want to access the graphical interface (swagger) go to the route [http://localhost:3333/docs/](http://localhost:3333/docs/)\n\n### View database\n1. Run the following command to see the database graphical interface\n  ```bash\nnpx prisma studio\n```\n2. A port will be started at http://localhost:5555/\n\nReady! The API is now working\n\nThanks!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farthur-llevy%2Fpassin-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farthur-llevy%2Fpassin-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farthur-llevy%2Fpassin-api/lists"}