c-shopping icon indicating copy to clipboard operation
c-shopping copied to clipboard

A beautiful shopping platform developed with Next.js, tailored for various devices including Desktop, Tablet, and Phone. 基于Nextjs开发同时适配Desktop、Tablet、Phone多种设备的精美购物平台

Results 7 c-shopping issues
Sort by recently updated
recently updated
newest added

如题,想体验一下发现手动添加分类、商品之类的比较麻烦

购物车里不存在东西时应显示0 或者红色气泡不存在

在.env文件 里JWT Token硬编码。 https://github.com/huanghanzhilian/c-shopping/blob/1588741fe7631fd2712280dabce02253aeba5e99/.env#L3 以 http://shop.huanghanlian.com/ 为例,可以任意构造一个合法的JWT。 ![image](https://github.com/huanghanzhilian/c-shopping/assets/29408109/0f211bf0-c91c-49f1-936e-7b664eb9d771) JWT里由userid组成,userid是MongoDB的ObjectID, Object ID可以预测,见 https://book.hacktricks.xyz/v/cn/network-services-pentesting/27017-27018-mongodb#mongo-objectid-yu-ce 。 修复建议: - 不使用硬编码的JWT密钥,项目初始化时随机生成

mysql版本可能更加利于项目发展

can you provide some insight into what each variable inside the .env file is responsible for? and where i can get these keys if i want to run the project...