GithubHelp home page GithubHelp logo

dljr-github / ionic-v3-php-mysql Goto Github PK

View Code? Open in Web Editor NEW

This project forked from voidfire/ionic-v3-php-mysql

0.0 1.0 0.0 4.45 MB

Ionic v3 login and register and profile retrieval from remote mysql throught php and json

TypeScript 0.17% HTML 0.11% CSS 9.52% JavaScript 90.12% PHP 0.08%

ionic-v3-php-mysql's Introduction

First clone this repository

Create a database on your server's mysql

I named mine ionicdb with a table users And fields id,username,password,telephone,email with types int(11), varchar(255), varchar(255), varchar(25), varchar(50) respectively (id needs to be primary key with auto increment)

Put the ionicphp files on the server, change the dbconnect.php details to your database details if you haven't named/set them like mine above

cd into ionic-app and do npm install as I haven't uploaded node_modules on this repo ionic-app expects the site with the php files to be named http://ionicphp.test

You will need to change the urls inside ionic-app to your own domain names in order for the application to be able to reach your php files

Then you can do ionic serve from ionic-app folder and test the functionality or build your android/ios apps according to ionics documentation

This is a fixed version of a tutorial I found on the internet that proved to be super annoying the code was posted with many issues and wrong formatting and and oh god

I'm sure somebody is thankful I took care of it! :)

PS: You can find the said tutorial here https://ionicdon.com/setup-login-register-ionic3-using-php-mysql but I wouldn't suggesting following that to the letter as you will encounter from typos to wrong/buggy php code but still I feel I have to link to it since I didn't write the whole code from scratch.

ionic-v3-php-mysql's People

Watchers

James Cloos 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.