npm install
安装依赖
npm run dev
端口默认 5000
npm install
安装依赖
npm start
端口默认 3000
###技术栈
react-router-dom
axios
createContext
包裹全局
react-toastify
ToastContainer react-toastify
react-toastify/dist/react-toastify.css
react-router-dom
react-hook-form
leaflet & react-leaflet
地图
express
nodemon
cors
防止跨域问题
jsonwebtoken
jwt 认证处理
dotenv
将数据隐藏到环境变量里面
bcryptjs
加密数据库里面的数据
express-async-handler
简化 Express 应用程序中处理异步函数错误的流程,使得代码更加简洁和易于维护。