nextjs-mongodb-ecommerce:Next.js + MongoDB电子商务应用程序

上传者: 42098104 | 上传时间: 2023-03-29 02:43:30 | 文件大小: 238KB | 文件类型: ZIP
使用MongoDB的示例应用 是为现代应用程序开发人员和云时代构建的基于文档的通用分布式数据库。 本示例将向您展示如何连接和使用MongoDB作为Next.js应用程序的后端。 如果您想了解有关MongoDB的更多信息,请访问以下页面: 自己部署 访问所需的环境变量后,请使用部署示例: 如何使用 使用或执行以引导示例: npx create-next-app --example with-mongodb with-mongodb-app # or yarn create next-app --example with-mongodb with-mongodb-app 配置 设置一个MongoDB数据库 在本地或使用建立MongoDB数据库。 设置环境变量 将此目录中的env.local.example文件复制到.env.local (Git将忽略): cp .env.local.ex

文件下载

资源详情

[{"title":"( 25 个子文件 238KB ) nextjs-mongodb-ecommerce:Next.js + MongoDB电子商务应用程序","children":[{"title":"nextjs-mongodb-ecommerce-main","children":[{"title":"package.json <span style='color:#111;'> 316B </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 227.28KB </span>","children":null,"spread":false},{"title":"contexts","children":[{"title":"cart.js <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"context.js <span style='color:#111;'> 98B </span>","children":null,"spread":false}],"spread":true},{"title":"pages","children":[{"title":"cart.js <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 2.43KB </span>","children":null,"spread":false},{"title":"products","children":[{"title":"[_id].js <span style='color:#111;'> 7.28KB </span>","children":null,"spread":false}],"spread":true},{"title":"_app.js <span style='color:#111;'> 520B </span>","children":null,"spread":false}],"spread":true},{"title":".gitignore <span style='color:#111;'> 362B </span>","children":null,"spread":false},{"title":"components","children":[{"title":"custom-head.js <span style='color:#111;'> 341B </span>","children":null,"spread":false},{"title":"slider.js <span style='color:#111;'> 996B </span>","children":null,"spread":false},{"title":"navbar.js <span style='color:#111;'> 3.59KB </span>","children":null,"spread":false},{"title":"product-card.js <span style='color:#111;'> 1.71KB </span>","children":null,"spread":false},{"title":"cart-product-card.js <span style='color:#111;'> 2.57KB </span>","children":null,"spread":false}],"spread":true},{"title":"styles","children":[{"title":"uikit.css <span style='color:#111;'> 372.84KB </span>","children":null,"spread":false},{"title":"fontawesome-all.css <span style='color:#111;'> 71.90KB </span>","children":null,"spread":false},{"title":"style.css <span style='color:#111;'> 692B </span>","children":null,"spread":false}],"spread":true},{"title":"public","children":[{"title":"assets","children":[{"title":"img","children":[{"title":"logo.png <span style='color:#111;'> 17.53KB </span>","children":null,"spread":false}],"spread":true},{"title":"svg","children":[{"title":"logo.svg <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"vercel.svg <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"favicon.ico <span style='color:#111;'> 14.73KB </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 3.62KB </span>","children":null,"spread":false},{"title":"util","children":[{"title":"mongodb.js <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"uikit-icons.js <span style='color:#111;'> 67.84KB </span>","children":null,"spread":false},{"title":"uikit.js <span style='color:#111;'> 337.82KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明