{"id":17353139,"url":"https://github.com/gmartins-dev/api-node-mongodb","last_synced_at":"2025-03-27T13:14:36.366Z","repository":{"id":104004433,"uuid":"487093624","full_name":"gmartins-dev/api-node-mongodb","owner":"gmartins-dev","description":"making a api with node and mongodb","archived":false,"fork":false,"pushed_at":"2022-04-30T20:12:50.000Z","size":52,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T17:26:24.660Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/gmartins-dev.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}},"created_at":"2022-04-29T19:50:30.000Z","updated_at":"2022-04-29T20:22:41.000Z","dependencies_parsed_at":"2023-11-08T11:34:33.152Z","dependency_job_id":"bddcb860-6255-4aeb-aa1b-c0965ed9fa36","html_url":"https://github.com/gmartins-dev/api-node-mongodb","commit_stats":null,"previous_names":["gmartins-dev/api-node-mongodb"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmartins-dev%2Fapi-node-mongodb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmartins-dev%2Fapi-node-mongodb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmartins-dev%2Fapi-node-mongodb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmartins-dev%2Fapi-node-mongodb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gmartins-dev","download_url":"https://codeload.github.com/gmartins-dev/api-node-mongodb/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245850360,"owners_count":20682647,"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":[],"created_at":"2024-10-15T17:15:45.202Z","updated_at":"2025-03-27T13:14:36.346Z","avatar_url":"https://github.com/gmartins-dev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"#CRUD - API padrão RESTful\n\n\nExpress --\u003e tratamento de requisições e enviar respostas aos endpoints\n\n-MongoDB --\u003e ODM Mongoose\n\n-MongoDB Atlas --\u003e cloud service deploy\n\n-Nodemon --\u003e real time app on dev ambient\n\n-Postman -\u003e for API requisions and responses tests\n\n-Dotenv -\u003e security, using local variables to not export sensitive application data\n\n=========================================\n\nIniciando o projeto:\n\nnpm init -y\n\nnpm install express nodemon mongoose\n\ngit init\n\ngit branch -M main\n\ngit push origin main\n\n  \"scripts\": {\n    \"start\": \"nodemon ./index.js localhost 3000\"\n  }\n\ncreate index.js and import dependencies\n\n  const express = require('express')\n  const app = express()\n  const mongoose = require('mongoose')\n\n\n#database acess:\n\n.env local variables\n\n\n\n#POSSIVEIS MELHORIAS:\n\n-converter o ID enviado pelo db para algo mais \"legivel\" ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgmartins-dev%2Fapi-node-mongodb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgmartins-dev%2Fapi-node-mongodb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgmartins-dev%2Fapi-node-mongodb/lists"}