{"id":19641278,"url":"https://github.com/williamkoller/descomplicando-nestjs","last_synced_at":"2025-06-21T06:05:48.441Z","repository":{"id":39667420,"uuid":"496373373","full_name":"williamkoller/descomplicando-nestjs","owner":"williamkoller","description":"Descomplicando Nestjs","archived":false,"fork":false,"pushed_at":"2022-06-30T18:54:48.000Z","size":413,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-28T12:45:41.863Z","etag":null,"topics":["api","docker","jest","nestjs","nginx","postgresql","tdd","testing","typeorm"],"latest_commit_sha":null,"homepage":"https://descomplicando-nestjs.herokuapp.com/api/docs/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/williamkoller.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-05-25T20:02:30.000Z","updated_at":"2022-08-03T07:44:55.000Z","dependencies_parsed_at":"2022-08-09T15:22:53.712Z","dependency_job_id":null,"html_url":"https://github.com/williamkoller/descomplicando-nestjs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/williamkoller/descomplicando-nestjs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williamkoller%2Fdescomplicando-nestjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williamkoller%2Fdescomplicando-nestjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williamkoller%2Fdescomplicando-nestjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williamkoller%2Fdescomplicando-nestjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/williamkoller","download_url":"https://codeload.github.com/williamkoller/descomplicando-nestjs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williamkoller%2Fdescomplicando-nestjs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261073338,"owners_count":23105639,"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":["api","docker","jest","nestjs","nginx","postgresql","tdd","testing","typeorm"],"created_at":"2024-11-11T14:08:34.636Z","updated_at":"2025-06-21T06:05:43.419Z","avatar_url":"https://github.com/williamkoller.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![CodeQL](https://github.com/williamkoller/descomplicando-nestjs/actions/workflows/codeql.yml/badge.svg?branch=main)](https://github.com/williamkoller/descomplicando-nestjs/actions/workflows/codeql.yml)\n[![Codacy Badge](https://app.codacy.com/project/badge/Grade/74f9acc450a146bea6c3e23d63c4bd62)](https://www.codacy.com/gh/williamkoller/descomplicando-nestjs/dashboard?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=williamkoller/descomplicando-nestjs\u0026amp;utm_campaign=Badge_Grade)\n![descomplicando-nestjs Actions](https://api.meercode.io/badge/williamkoller/descomplicando-nestjs?type=ci-score\u0026lastDay=14)\n[![CodeFactor](https://www.codefactor.io/repository/github/williamkoller/descomplicando-nestjs/badge)](https://www.codefactor.io/repository/github/williamkoller/descomplicando-nestjs)\n[![CI/CD Nodejs Application](https://github.com/williamkoller/descomplicando-nestjs/actions/workflows/ci-cd.yml/badge.svg)](https://github.com/williamkoller/descomplicando-nestjs/actions/workflows/ci-cd.yml)\n\n# Descomplicando Nestjs\n\n- Requerido `docker` e `docker-compose`\n\n## Como rodar esse projeto?!\n\n1 - copiar o arquivo `.env.sample` para `.env` =\u003e `cp -r .env.sample .env`\n\n  - 1.1 - exemplo do arquivo `.env`\n  ```\n  # Application\n  APP_URL=http://descomplicando-nestjs\n  DEFAULT_STRATEGY=jwt\n  JWT_SECRET=secret\n  JWT_EXPIRES_IN=2h\n  NODE_ENV=development\n  PORT=3001\n  PROPERTY_USER=user\n  SESSION=false\n  LOGGING=false\n\n  # Database\n  POSTGRES_HOST=localhost\n  POSTGRES_PORT=5432\n  POSTGRES_USER=docker\n  POSTGRES_PASSWORD=docker\n  POSTGRES_DATABASE=docker_db\n\n  #Nginx\n  NGINX_PORT=80\n  ```\n\n2 - rodar o projeto com o docker:\n\n  - 2.1 - `docker-compose up` ou `make up`\n\n3 - rodar as migrations:\n  \n  - 3.1 - acessar o container do projeto `docker exec -it descomplicando-nestjs sh`\n  - 3.2 - rodar migrations `yarn typeorm:migration:run`\n\n4 - adicionar o server_name no hosts do seu computador:\n  \n  - 4.1 `sudo nano /etc/hosts`\n    ```\n    127.0.0.1    descomplicando-nestjs\n    ```\n\n5 - projeto pronto para ser usado.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilliamkoller%2Fdescomplicando-nestjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwilliamkoller%2Fdescomplicando-nestjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilliamkoller%2Fdescomplicando-nestjs/lists"}