文件名称:照明工程
文件大小:422KB
文件格式:ZIP
更新时间:2024-03-02 23:14:39
JavaScript
照明工程 架构图 const Product = new Schema( { name: { type: String, required: true }, price: { type: String, required: true }, imgURL: { type: String, required: true }, description: { type: String, required: true } }, { timestamps: true } ) const User = new Schema( { username: { type: String, required: true }, email: { type: String, required: true }, password_digest: {
【文件预览】:
lighting-project-dev
----client()
--------.gitignore(310B)
--------package.json(895B)
--------package-lock.json(675KB)
--------src()
--------public()
--------README.md(3KB)
----.gitignore(31B)
----package.json(840B)
----seed()
--------products.js(3KB)
----package-lock.json(78KB)
----db()
--------connection.js(396B)
----models()
--------product.js(369B)
--------user.js(322B)
----helpers()
--------restrict.js(405B)
----README.md(1KB)
----controllers()
--------products.js(2KB)
--------users.js(2KB)
----routes()
--------index.js(312B)
--------products.js(444B)
--------users.js(330B)
----server.js(505B)