Borderlands 2 items database backend
, (*1)
This is a php REST JSON interface for the borderlands 2 items application.
The data is stored in a database (default is [MySQL] (http://www.mysql.com/)) and then retrived by using the [doctrine ORM mapper] (http://www.doctrine-project.org/projects/orm.html)
The resources are provided in a RESTful way by using Spore., (*2)
Prerequisites
Make sure you have composer installed globally., (*3)
Setup
clone the repository:, (*4)
git clone https://github.com/eras0r/bl2items-backend
navigate the the directory where your clone is located and type in, (*5)
composer install
Prepare database
- Create a new database schema
- edit
include/config.php
with the configuration for your database
- create the database structure by executing the script
sql/create-schema.sql
in your database
- insert master data by executing the
sql/insert-master-data.sql
Initial credentials
By invoking the insert-master-data.sql script the following admin user (with all roles) will be created automatically:, (*6)
Username |
Password |
admin |
bl2 |