{"id":13602230,"url":"https://github.com/tumobi/nideshop","last_synced_at":"2025-04-02T03:09:44.777Z","repository":{"id":40432367,"uuid":"92370246","full_name":"tumobi/nideshop","owner":"tumobi","description":"NideShop 开源微信小程序商城服务端 API（Node.js + ThinkJS）","archived":false,"fork":false,"pushed_at":"2021-08-09T08:39:39.000Z","size":1491,"stargazers_count":5610,"open_issues_count":9,"forks_count":1789,"subscribers_count":319,"default_branch":"master","last_synced_at":"2025-03-25T17:20:29.036Z","etag":null,"topics":["api","b2c","min-program","mysql","nideshop","nodejs","shopping","thinkjs","weapp","wechat-app"],"latest_commit_sha":null,"homepage":"https://www.nideshop.com/","language":"JavaScript","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/tumobi.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":"2017-05-25T06:01:00.000Z","updated_at":"2025-03-24T09:54:46.000Z","dependencies_parsed_at":"2022-07-16T10:30:33.611Z","dependency_job_id":null,"html_url":"https://github.com/tumobi/nideshop","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tumobi%2Fnideshop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tumobi%2Fnideshop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tumobi%2Fnideshop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tumobi%2Fnideshop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tumobi","download_url":"https://codeload.github.com/tumobi/nideshop/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246746933,"owners_count":20827061,"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","b2c","min-program","mysql","nideshop","nodejs","shopping","thinkjs","weapp","wechat-app"],"created_at":"2024-08-01T18:01:17.237Z","updated_at":"2025-04-02T03:09:44.756Z","avatar_url":"https://github.com/tumobi.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","Projects by ThinkJS"],"sub_categories":["websocket"],"readme":"### NideShop商城（服务端）\n\n+ 界面高仿网易严选商城(主要是2016年wap版)\n+ 测试数据采集自网易严选商城\n+ 功能和数据库参考ecshop\n+ 服务端api基于Ｎode.js+ThinkJS+MySQL\n+ 计划添加基于Vue.js的后台管理系统、PC版、Ｗap版\n\n本项目需要配合微信小程序端使用，GitHub: [https://github.com/tumobi/nideshop-mini-program](https://github.com/tumobi/nideshop-mini-program)\n\n### 本地开发环境配置\n+ 克隆项目到本地\n```\ngit clone https://github.com/tumobi/nideshop\n```\n+ 创建数据库nideshop并导入项目根目录下的nideshop.sql\n```\nCREATE SCHEMA `nideshop` DEFAULT CHARACTER SET utf8mb4 ;\n```\n\u003e 注意数据库字符编码为utf8mb4 \n+ 更改数据库配置\n  src/common/config/database.js\n  \n```\nconst mysql = require('think-model-mysql');\n\nmodule.exports = {\n    handle: mysql,\n    database: 'nideshop',\n    prefix: 'nideshop_',\n    encoding: 'utf8mb4',\n    host: '127.0.0.1',\n    port: '3306',\n    user: 'root',\n    password: '你的密码',\n    dateStrings: true\n};\n```\n\n+ 填写微信登录和微信支付配置\nsrc/common/config/config.js\n```\n// default config\nmodule.exports = {\n  default_module: 'api',\n  weixin: {\n    appid: '', // 小程序 appid\n    secret: '', // 小程序密钥\n    mch_id: '', // 商户帐号ID\n    partner_key: '', // 微信支付密钥\n    notify_url: '' // 微信异步通知，例：https://www.nideshop.com/api/pay/notify\n  }\n};\n```\n\n+ 安装依赖并启动\n```\nnpm install\nnpm start\n```\n访问http://127.0.0.1:8360/\n\n### 线上部署\n[云服务器ECS-云主机优惠-2折上云](https://promotion.aliyun.com/ntms/act/qwbk.html?userCode=3grpysgf)\n\n[在阿里云（CentOS 7）上部署文档](https://www.nideshop.com/documents/nideshop-manual/deployment-centos)\n\n\n### 微信小程序客户端截图\n\n![首页](http://upload-images.jianshu.io/upload_images/3985656-c543b937ac6e79bb.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/320)\n\n![专题](http://upload-images.jianshu.io/upload_images/3985656-bd606aac3b5491c2.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/320)\n\n![分类](http://upload-images.jianshu.io/upload_images/3985656-fa9565158376d439.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/320)\n\n![商品列表](http://upload-images.jianshu.io/upload_images/3985656-788b7fd2c4a558d0.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/320)\n\n![商品详情](http://upload-images.jianshu.io/upload_images/3985656-99a6e0a57778d85f.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/320)\n\n![购物车](http://upload-images.jianshu.io/upload_images/3985656-60ff2307d81f6bb2.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/320)\n\n![订单中心](http://upload-images.jianshu.io/upload_images/3985656-dff837e6b2ec87b3.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/320)\n\n\n### 功能列表\n+ 首页\n+ 分类首页、分类商品、新品首发、人气推荐商品页面\n+ 商品详情页面，包含加入购物车、收藏商品、商品评论功能\n+ 搜索功能\n+ 专题功能\n+ 品牌功能\n+ 完整的购物流程，商品的加入、编辑、删除、批量选择，收货地址的选择，下单支付\n+ 会员中心（订单、收藏、足迹、收货地址、意见反馈）\n....\n\n### 交流\n喜欢别忘了 Star，有问题可通过微信、公众号、QQ 群联系我，谢谢您的关注。\n\n![联系方式](http://nideshop-static.childsay.com/nideshop-qrcode.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftumobi%2Fnideshop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftumobi%2Fnideshop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftumobi%2Fnideshop/lists"}