/react-node-mysql

sample code

Primary LanguageJavaScript

Nodejs

npm init -y
npm install express cors body-parser

安装 Mysql

npm install mysql2

启动后端服务器

node server.js

React

npm install axios

启动

npm start