{"id":20376528,"url":"https://github.com/blakepro/nextjs-nestjs-mongo-react","last_synced_at":"2026-04-29T23:33:16.796Z","repository":{"id":106246180,"uuid":"329714623","full_name":"BlakePro/nextjs-nestjs-mongo-react","owner":"BlakePro","description":"Example of how to use NextJS, NestJS, React (Backend and Frontend)","archived":false,"fork":false,"pushed_at":"2021-01-14T19:46:30.000Z","size":124,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-04T21:42:06.475Z","etag":null,"topics":["backend","form","frontend","hooks","materialui","nestjs","nextsjs","react","restapi","routes"],"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/BlakePro.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":"2021-01-14T19:31:04.000Z","updated_at":"2023-01-07T00:37:52.000Z","dependencies_parsed_at":"2023-05-31T02:00:49.909Z","dependency_job_id":null,"html_url":"https://github.com/BlakePro/nextjs-nestjs-mongo-react","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BlakePro/nextjs-nestjs-mongo-react","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlakePro%2Fnextjs-nestjs-mongo-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlakePro%2Fnextjs-nestjs-mongo-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlakePro%2Fnextjs-nestjs-mongo-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlakePro%2Fnextjs-nestjs-mongo-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BlakePro","download_url":"https://codeload.github.com/BlakePro/nextjs-nestjs-mongo-react/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlakePro%2Fnextjs-nestjs-mongo-react/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32448400,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"ssl_error","status_checked_at":"2026-04-29T22:10:49.234Z","response_time":110,"last_error":"SSL_read: 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":["backend","form","frontend","hooks","materialui","nestjs","nextsjs","react","restapi","routes"],"created_at":"2024-11-15T01:38:18.934Z","updated_at":"2026-04-29T23:33:16.780Z","avatar_url":"https://github.com/BlakePro.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/BlakePro/ExampleNextNestReact/\"\u003e\n    \u003cimg src=\"ExampleApp.png\" alt=\"\u003eExample of how to use NextJS, NestJS, React\" width=\"80%\" height=\"80%\"\u003e\n  \u003c/a\u003e\n  \u003ch3 align=\"center\"\u003eExample of how to use NextJS, NestJS, React\u003c/h3\u003e\n\u003c/p\u003e\n\n\n# Frontend\n\n### CLI\n```\ncd frontend\nnpm i\nnpm run dev\n```\n\nOpen [http://localhost:8882](http://localhost:8882) with your browser to see the result.\n\n# Backend (RESTAPI Doc)\n\n### CLI\n```\ncd backend\nnpm i\nnpm run start:dev\n```\n\nWhere full URLs are provided in responses they will be rendered as if service\nis running on 'http://localhost:8333/'.\n\n## Open Endpoints\n\nOpen endpoints require no Authentication.\n\n### Endpoints\n\nEndpoints for viewing and manipulating the Accounts that the Authenticated User\nhas permissions to access.\n\n* Get all Products : `GET /v1/products/`\n* Get Single Product : `GET /v1/products/:IdProduct`\n* Add Single Product : `POST /v1/products/:IdProduct`\n* Update Single Product : `PUT /v1/products/:IdProduct`\n* Delete Single Product : `DELETE /v1/products/:IdProduct`\n\n### Header\n  * `Content-Type: application/json`\n\n### Body JSON\n```json\n{\n    \"NameProduct\": \"Manzana Verde\",\n    \"Category\": \"Bebida\",\n    \"Description\": \"Refresco de lata\",\n    \"ProductQuantity\": 1,\n    \"Status\": true\n}\n```\n\n## Success Responses\n\n**Message** : String response\n\n**Status** : `200`\n\n**Product** : JSON product response\n\n**Content example** : For the example above, when the 'name' is updated and\nposted to `/v1/product/:IdProduct`...\n\n```json\n{\n    \"message\": \"Product update\",\n    \"product\": {\n        \"NameProduct\": \"Manzana Verde\",\n        \"Category\": \"Bebidas\",\n        \"Description\": \"Refresco de lata\",\n        \"ProductQuantity\": 15,\n        \"Status\": true,\n        \"TimeStamp\": \"2021-01-13T23:22:47.486Z\",\n        \"IdProduct\": \"5fff80c748c2be80a36d34c3\"\n    },\n    \"status\": 200\n}\n```\n\n## Error Responses\n\n**Message** : JSON response\n\n**Status** : `403`\n\n**Content example** : For the example above, when the 'name' is post and\nposted to `/v1/product`...\n\n```json\n{\n    \"message\": {\n        \"Category\": {\n            \"name\": \"ValidatorError\",\n            \"message\": \"`nr` is not a valid enum value for path `Category`.\",\n            \"properties\": {\n                \"message\": \"`nr` is not a valid enum value for path `Category`.\",\n                \"type\": \"enum\",\n                \"enumValues\": [\n                    \"Bebidas\",\n                    \"Limpieza\",\n                    \"Botanas\",\n                    \"Cremeria\"\n                ],\n                \"path\": \"Category\",\n                \"value\": \"nr\"\n            },\n            \"kind\": \"enum\",\n            \"path\": \"Category\",\n            \"value\": \"nr\"\n        }\n    },\n    \"product\": {},\n    \"status\": 403\n}\n```\n\n\n# CLI Usage\n```\nnest new backend\nyarn create next-app frontend\nbrew install mongodb-community\n```\n\n# Versions\n```\nnode v12.13.0\nnpm v6.14.9\nyarn v1.22.10\n```\n\n# Author\n`Cristian Yosafat Hernández Ruiz`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblakepro%2Fnextjs-nestjs-mongo-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblakepro%2Fnextjs-nestjs-mongo-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblakepro%2Fnextjs-nestjs-mongo-react/lists"}