RESTful interface for the Borderlands 2 items database
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.
Make sure you have composer installed globally.
clone the repository:
git clone https://github.com/eras0r/bl2items-backend
navigate the the directory where your clone is located and type in
- Create a new database schema
include/config.phpwith the configuration for your database
- create the database structure by executing the script
sql/create-schema.sqlin your database
- insert master data by executing the
By invoking the insert-master-data.sql script the following admin user (with all roles) will be created automatically: