https://github.com/amahdaoui/react-php-mysql-web-apps
this project is created to implement a web application using React-php-Mysql
https://github.com/amahdaoui/react-php-mysql-web-apps
mysql-database php react
Last synced: over 1 year ago
JSON representation
this project is created to implement a web application using React-php-Mysql
- Host: GitHub
- URL: https://github.com/amahdaoui/react-php-mysql-web-apps
- Owner: aMahdaoui
- Created: 2017-12-26T13:25:30.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-12-27T16:49:49.000Z (over 7 years ago)
- Last Synced: 2025-03-17T17:21:28.153Z (over 1 year ago)
- Topics: mysql-database, php, react
- Language: CSS
- Homepage:
- Size: 1.55 MB
- Stars: 17
- Watchers: 0
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# React-php-Mysql-web-apps
This project is created to implement a web application using React-php-Mysql
## Get Started
### Step 1)
#### Php and Mysql environnement
-Ensure that you have apache running on port 80, I recommend using MAMP/WAMP 🐘 or equivalent for a GUI interface
-Add a folder to WWW Appache folder, name it 'challenge'and place into it 'modele, controller, includes' which are in 'PHP'
-import the Shops database (using the file shops.sql) with phpmyadmin
### Step 2) 🖌️
#### Install dependencies
install create-react-app globally:
```
npm install -g create-react-app
```
Create new project for in your Documents:
```
create-react-app reactPhp
cd reactPhp/
npm start
```
Open localhost:3000 in your browser to see basic react app in action. (make sur react is running on this port !!)
Now that we are done with setup process lets add to it our specific react files
for that copy all files placed in React folder to reactPhp
after that add "react-router-dom " module to reactPhp project for doing redirection between our component and Links
```
npm i react-router-dom
```
### Step 3) 🖼️
#### Now we need to implement and manage shops
that's will be done soon