React - antd-mobile mobile terminal project (Hokey Rent a house)
Step 1: Create a Startup Project
1. Create project npx create-react-app hkzf-mobile
2. npm start (yarn start)
You can see this picture to show that the project has started successfully.
Step 2: Start the background database
Clean up MySQL first (you can see it if you need it, skip it if you don’t need it)
- Enter services.msc in the local cmd and press Enter to enter the service management window and stop the MySQL service.
- Enter regedit to open the registry
Delete the following files:
- HKEY_LOCAL_MACHINE/SYSTEM/ControlSet001/Services/Eventlog/Applications/MySQL
- HKEY_LOCAL_MACHINE/SYSTEM/ControlSet002/Services/Eventlog/Applications/MySQL
- HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Eventlog/Applications/MySQL
- HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Application\MySQL folder
Start MySQL
Open the MySQL client
- Note: Double-click the root to expand several pieces of data
- Right click on root to create a new database
-
Then right-click on hkzf
Note: npm start connection data end! ! ! -
On the page localhost: 8080 open