Skip to content

victor-axelsson/php_backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This project is intended for learning purposes only. The code contains solutions that have security and performance vunarabilities so please don't use it in production.

Any form of damages that you cause opon youself and others as a result of running code from the project is your own responsibilies. I do not leave any form of resposibilities or guarantees.

You can follow along in my tutorials series on youtube in order to see all the steps of developent.

Setup

  • Make sure you have composer installed.
  • Make sure that you have some way of hosting you php application. (like MAMP, LAMP, XAMPP)
  • Make sure you have MySQL installed NOTE: MySQLis included in MAMP, LAMP and XAMPP.

In the tutorials I have php 5.6 installed. If you want to use some other php version, like php 7, I cannot guarantee that it's gonna work for you.

  • git clone https://github.com/victor-axelsson/php_backend.git
  • composer install
  • composer dump-autoload
  • setup your env file:
DB_NAME=<your db name>
DB_IP=<ip to your db, like localhost or 127.0.0.1>
DB_USER=<your db username>
DB_PASSWORD=<your db user password>
DB_PORT=<the port number>

About

App for demonstrating API architecture

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published