GithubHelp home page GithubHelp logo

sbhanuteja / php-react-sample Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rafuka/php-react-sample

0.0 0.0 6.0 1.48 MB

A small app using React, PHP, and MySQL

HTML 4.10% PHP 23.99% JavaScript 46.15% SCSS 25.76%

php-react-sample's Introduction

Sample app with React, PHP and MySQL

Required software

  • MySQL server
  • php7 (with mysqli)
  • npm version >= 6.4.1
  • node version >= 10.8.0

Usage

The following are instruction to test this app locally:

  1. Clone the repo
  2. npm install it
  3. Make sure you have PHP version 7
  4. Create a MySQL database with any name you'd like
  5. Update the config.php file on this repo to reflect the credentials and info for accessing the database. Specifically the user, database name, and user password.
  6. Run the db.sql script in the server folder to create the necessary tables and populate them with some data: sudo mysql -u <username> -p < db.sql
  7. Run npm start

php-react-sample's People

Contributors

rafuka avatar sbhanuteja avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.