my-merch-shop Node.js小型电商站点

我的简单商品站点挺适合快速搭建一个小型电商网站的。它支持用户注册、登录、发布、编辑、删除商品,功能挺全的,适合用来展示商品信息,做一个小型的在线商店。技术上使用了Node.jsExpress.js,所以后端速度还蛮快的。而且使用了mySQLMongoDB两种数据库,分别用来结构化数据和非结构化数据,挺灵活的。Sequelize让数据库操作更简单,尤其是配合mongoose,让整个项目数据管理更清晰。如果你也想搭建类似的小商店,可以试试这个项目,完全可以自己根据需求调整。哦,对了,记得运行之前先用npm install安装必要的包,直接用npm start启动项目就行。

zip
my-merch-shop-master.zip 预估大小:44个文件
folder
my-merch-shop-master 文件夹
folder
models 文件夹
file
user.js 2KB
file
product.js 494B
file
order.js 470B
file
package.json 776B
folder
data 文件夹
file
cart.json 85B
file
products.json 180B
folder
routes 文件夹
file
auth.js 402B
file
admin.js 708B
file
shop.js 669B
folder
middleware 文件夹
file
is-auth.js 166B
file
package-lock.json 102KB
folder
controllers 文件夹
file
auth.js 2KB
file
error.js 190B
file
admin.js 3KB
file
shop.js 3KB
file
.DS_Store 8KB
folder
views 文件夹
folder
admin 文件夹
file
edit-product.ejs 2KB
file
products.ejs 2KB
file
404.html 690B
folder
auth 文件夹
file
login.ejs 680B
file
signup.ejs 837B
file
add-product.html 1KB
file
.DS_Store 6KB
file
shop.html 715B
folder
shop 文件夹
file
index.ejs 1KB
folder
checkout.ejs 文件夹
file
product-list.ejs 1KB
file
product-detail.ejs 480B
file
orders.ejs 829B
file
cart.ejs 1013B
folder
includes 文件夹
file
add-to-cart.ejs 178B
file
head.ejs 657B
file
navigation.ejs 2KB
file
end.ejs 16B
file
404.ejs 162B
file
.gitignore 12B
folder
public 文件夹
folder
css 文件夹
file
product.css 341B
file
auth.css 90B
file
forms.css 430B
file
main.css 1KB
file
.DS_Store 6KB
file
app.js 1KB
file
README.md 666B
folder
helpers 文件夹
file
path.js 90B
zip 文件大小:49.11KB