{"id":15061691,"url":"https://github.com/boxy-smd/deck-api","last_synced_at":"2026-02-17T23:32:20.199Z","repository":{"id":251120126,"uuid":"836449080","full_name":"boxy-smd/deck-api","owner":"boxy-smd","description":"🃏 Back-end da aplicação Deck, um repositório de trabalhos realizados por alunos do curso de Sistemas e Mídias Digitais da Universidade Federal do Ceará.","archived":false,"fork":false,"pushed_at":"2026-01-06T00:36:48.000Z","size":4136,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"development","last_synced_at":"2026-01-09T09:33:43.713Z","etag":null,"topics":["fastify","nodejs","smd","typescript","ufc","university"],"latest_commit_sha":null,"homepage":"https://deck-api.onrender.com","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/boxy-smd.png","metadata":{"files":{"readme":"README.Docker.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2024-07-31T21:55:17.000Z","updated_at":"2026-01-06T00:34:58.000Z","dependencies_parsed_at":"2024-08-09T14:16:11.939Z","dependency_job_id":"576a4dee-c8b1-4e83-bc51-24dcec9071d8","html_url":"https://github.com/boxy-smd/deck-api","commit_stats":null,"previous_names":["boxy-smd/backend","boxy-smd/deck-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/boxy-smd/deck-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxy-smd%2Fdeck-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxy-smd%2Fdeck-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxy-smd%2Fdeck-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxy-smd%2Fdeck-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boxy-smd","download_url":"https://codeload.github.com/boxy-smd/deck-api/tar.gz/refs/heads/development","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxy-smd%2Fdeck-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29562215,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T21:50:49.831Z","status":"ssl_error","status_checked_at":"2026-02-17T21:46:15.313Z","response_time":100,"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":["fastify","nodejs","smd","typescript","ufc","university"],"created_at":"2024-09-24T23:23:42.776Z","updated_at":"2026-02-17T23:32:15.190Z","avatar_url":"https://github.com/boxy-smd.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deck API\n\n## :bookmark: **Sumário**\n\n- [Sobre o Projeto](#black_joker-sobre-o-projeto)\n- [Rotas do Projeto](#file_folder-rotas-do-projeto)\n- [Tecnologias](#wrench-tecnologias)\n  - [Construção da API](#construção-da-api)\n  - [Testes](#testes)\n  - [IDE, Versionamento e Deploy](#ide-versionamento-e-deploy)\n- [Configurações e Instalação](#rocket-configurações-e-instalação)\n  - [Requisitos](#requisitos)\n- [Licença](#balance_scale-licença)\n\n## :black_joker: **Sobre o Projeto**\n\nDeck é uma aplicação que servirá como repositório de trabalhos realizados por alunos do curso de Sistemas e Mídias Digitais da Universidade Federal do Ceará.\n\n## :file_folder: Rotas do Projeto\n\n## Estudantes\n\n\u003e - **`POST` /profile-images/:username** _Realiza o upload da imagem de perfil do estudante._\n\u003e - **`POST` /students** _Regista um estudante._\n\u003e - **`POST` /sessions** _Autentica um estudante._\n\u003e - **`GET` /students** _Lista os estudantes._\n\u003e - **`GET` /profiles** _Obtém o perfil de um estudante._\n\u003e - **`PUT` /profiles** _Edita o perfil de um estudante._\n\n## Projetos\n\n\u003e - **`GET` /projects** _Lista os projetos._\n\u003e - **`GET` /projects/:id** _Obtém os detlhes de um projeto._\n\u003e - **`POST` /projects** _Publica um projeto._\n\u003e - **`PUT` /projects/:id** _Edita um projeto._\n\u003e - **`DELETE` /projects** _Exclui um projeto._\n\u003e - **`POST` /banners/:projectId** _Realiza o upload do banner do projeto._\n\n### Tags\n\n\u003e - **`GET` /professors** _Lista os professores._\n\u003e - **`GET` /subjects** _Lista as disciplinas._\n\u003e - **`GET` /trails** _Lista as trilhas._\n\n### Comentários\n\n\u003e - **`POST` /projects/:id/comments** _Comenta em um projeto._\n\nEncontre a documentação completa [aqui](https://deck-api.onrender.com/docs).\n\n## :wrench: **Tecnologias**\n\nTecnologias utilizadas no projeto.\n\n### **Construção da API**\n\n- [TypeScript](https://www.typescriptlang.org)\n- [Fastify](https://fastify.dev)\n- [@fastify/jwt](https://github.com/fastify/fastify-jwt)\n- [@fastify/cookie](https://github.com/fastify/fastify-cookie)\n- [@fastify/swagger](https://github.com/fastify/fastify-swagger)\n- [@fastify/swagger-ui](https://github.com/fastify/fastify-swagger-ui)\n- [Node.js](https://nodejs.org/en)\n- [Zod](https://zod.dev)\n- [BCrypt](https://www.npmjs.com/package/bcrypt)\n\n### **Banco de Dados**\n\n- [Prisma](https://www.prisma.io/)\n- [Docker](https://www.docker.com/)\n- [PostgreSQL](https://www.postgresql.org/)\n- [Firebase Storage](https://firebase.google.com/docs/storage)\n\n### **Testes**\n\n- [Vitest](https://vitest.dev)\n- [Supertest](https://www.npmjs.com/package/supertest)\n\n### **IDE, Versionamento e Deploy**\n\n- [Visual Studio Code](https://code.visualstudio.com)\n- [Git](https://git-scm.com)\n- [GitHub](https://github.com)\n\n## :rocket: **Configurações e Instalação**\n\n### Requisitos\n\n- [Node](https://nodejs.org/) e [pnpm](https://pnpm.io/pt/).\n- [Docker](https://www.docker.com/).\n\n```sh\n# Caso não tenha o pnpm, execute:\nnpm install -g pnpm\n```\n\nRecomendo que veja a [documentação de configuração do Fastify](https://fastify.dev/docs/latest/Reference/).\n\n```sh\n# Clonando o projeto\ngit clone https://github.com/boxy-smd/deck-api.git\n\n# Instalando as dependências\npnpm install\n\n# Criando o container do banco de dados:\ndocker compose up\n\n# Fazendo as migrações para o banco de dados:\npnpm db:migrate\n\n# Criar arquivo .env com base no .env.example e preencher os campos necessários\nNODE_ENV=\u003cenv\u003e\nJWT_SECRET=\u003csecret\u003e\nPORT=\u003cport\u003e\nDATABASE_URL=\u003curl\u003e\nFIREBASE_API_KEY=\u003ckey\u003e\nFIREBASE_APP_ID=\u003cid\u003e\nFIREBASE_AUTH_DOMAIN=\u003cdomain\u003e\nFIREBASE_MESSAGING_SENDER_ID=\u003cid\u003e\nFIREBASE_PROJECT_ID=\u003cid\u003e\nFIREBASE_STORAGE_BUCKET=\u003cbucket\u003e\n\n# Popular o banco de dados com as informações necessárias do sistema\npnpm db:seed\n\n# Rodar o servidor em desenvolvimento\npnpm start:dev\n\n# Iniciar testes gerais\npnpm test\n\n# Iniciar testes unitários\npnpm test:unit\n\n# Iniciar testes E2E\npnpm test:e2e\n\n# Compilar e minificar para produção\npnpm build\n\n# Rodar o servidor em produção\npnpm start\n```\n\n---\n\nFeito com 💙 e ☕ por Boxy.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboxy-smd%2Fdeck-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboxy-smd%2Fdeck-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboxy-smd%2Fdeck-api/lists"}