{"id":19131992,"url":"https://github.com/guaradata/guaradata-backend","last_synced_at":"2025-07-27T07:34:37.948Z","repository":{"id":236855898,"uuid":"793287992","full_name":"guaradata/guaradata-backend","owner":"guaradata","description":"Repositório de códigos do backend (CMS) do site e blog Guaradata, desenvolvido em Nest.js.","archived":false,"fork":false,"pushed_at":"2024-06-14T23:17:26.000Z","size":349,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-22T17:37:24.886Z","etag":null,"topics":[],"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/guaradata.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-04-28T23:20:07.000Z","updated_at":"2024-10-11T18:48:47.000Z","dependencies_parsed_at":"2024-06-15T00:24:39.132Z","dependency_job_id":"b6deecc5-a828-4198-be2d-53c536c2ea2a","html_url":"https://github.com/guaradata/guaradata-backend","commit_stats":null,"previous_names":["guaradata/guaradata-backend"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/guaradata/guaradata-backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guaradata%2Fguaradata-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guaradata%2Fguaradata-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guaradata%2Fguaradata-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guaradata%2Fguaradata-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guaradata","download_url":"https://codeload.github.com/guaradata/guaradata-backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guaradata%2Fguaradata-backend/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267324403,"owners_count":24069384,"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-07-27T02:00:11.917Z","response_time":82,"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":[],"created_at":"2024-11-09T06:16:51.770Z","updated_at":"2025-07-27T07:34:37.926Z","avatar_url":"https://github.com/guaradata.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Guaradata backend\r\n\r\nThis repository contains the backend of the Guaradata project. It is responsible for managing the business logic and communication with the database using NestJS, Prisma, and Mongoose. The backend can be configured for both development and production, with Docker support to facilitate dependency management and deployment.\r\n\r\n## Setup Development Server\r\n\r\n### Access backend folder\r\n\r\n```bash\r\ncd backend\r\n```\r\n\r\n### Installation\r\n\r\n```bash\r\nnpm install\r\n```\r\n\r\n### Database\r\n\r\nTo perform data migrations with Prisma, run the following command in the backend folder:\r\n\r\n```bash\r\nnpx prisma migrate dev --name init\r\n```\r\n\r\n### Docker container\r\n\r\nRun the following command to build the Docker project on your local machine from the root folder:\r\n\r\n```bash\r\ncd..\r\n```\r\n\r\nAdd the .env file to the root directory. The directory contains an example .env file (env.example). Build and run:\r\n\r\n```bash\r\ndocker-compose -f docker-compose.dev.yml up --build\r\n```\r\n\r\n### Running the app\r\n\r\n```bash\r\nnpm run start:dev\r\n```\r\n\r\n## Setup Production Server\r\n\r\nRun the following command to build the project in Docker for production:\r\n\r\n```bash\r\ndocker-compose up --build\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguaradata%2Fguaradata-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguaradata%2Fguaradata-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguaradata%2Fguaradata-backend/lists"}