【文件属性】:
文件名称:next-crud:使用NextJS构建的全栈CRUD应用程序
文件大小:166KB
文件格式:ZIP
更新时间:2021-02-03 13:24:43
react redux redux-saga mongoose crud-application
表中的内容
1.文件夹结构
+---components
+---icons
+---models
+---pages
| \- --api
| \- --employees
+---store
| +---actions
| +---reducers
| \- --sagas
+---styles
\- --utils
2.库和框架
名称
描述
React生产框架。
一个用于构建用户界面JavaScript库。
JS应用程序的可预测状态容器。
在Redux中用于处理副作用的中间件。
具有易于使用的验证的高性能,灵活和可扩展的表单。
适用于node.js的优雅mongodb对象建模
3.安装与设置
安装项目依赖项
yarn install or npm install
在.env.local上添加环境变量
MONGO_URI=
启动开发服务器
yarn dev or npm run dev
量产
yarn build or npm run build
运行生产模式
yarn start or npm start
4.执照
麻
【文件预览】:
next-crud-master
----.eslintrc(80B)
----models()
--------Employee.js(565B)
----jsconfig.json(119B)
----package.json(1KB)
----.prettierrc(21B)
----.prettierignore(20B)
----icons()
--------trash.js(653B)
--------index.js(158B)
--------person-add.js(419B)
--------checkmark.js(361B)
--------close.js(326B)
--------eye.js(610B)
--------pencil.js(422B)
----pages()
--------index.js(217B)
--------api()
--------_app.js(187B)
----.gitignore(2KB)
----components()
--------index.js(132B)
--------Table.js(1KB)
--------Modal.js(5KB)
--------Header.js(494B)
--------Pagination.js(77B)
--------Layout.js(207B)
----styles()
--------_form.scss(383B)
--------_layout.scss(226B)
--------_resets.scss(533B)
--------_mixins.scss(131B)
--------_input.scss(541B)
--------_header.scss(565B)
--------_pagination.scss(67B)
--------_modal.scss(799B)
--------_label.scss(175B)
--------_variables.scss(485B)
--------_table.scss(1KB)
--------_textarea.scss(43B)
--------_button.scss(746B)
--------main.scss(238B)
----README.md(2KB)
----yarn.lock(280KB)
----preview.PNG(49KB)
----.eslintignore(20B)
----utils()
--------dbConnect.js(460B)
----store()
--------reducers()
--------index.js(52B)
--------store.js(540B)
--------types.js(891B)
--------actions()
--------sagas()