Skip to content

tigran-m-dev/etreedb-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EtreeDb Database API

Introduction

This is the database for a rewrite of db.etree.org. It is also a demonstration of soliantconsuting-apigility Doctrine entity API creation.

Installation

  1. Clone the repository git clone [email protected]:etreedb/etreedb-api

  2. Run composer ./composer.phar install --dev

  3. Create a doctrine-compatible database

  4. Copy config/development.config.php.dist to config/development.config.php

  5. Copy config/autoload/local.php.dist to config/autoload/local.php and edit for your database connection from 3.

  6. Run ./bin/rebuild A list of routes will be one of the output of this function

  7. Run php -S localhost:8090 -t public/ public/index.php

  8. Make a request to GET http://localhost:8090/api/performer of Accept-Type: application/json or GET http://localhost:8090/api/etree_db/db/entity/performer

About

API for db.etree.org

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 90.6%
  • Shell 4.3%
  • HTML 4.2%
  • Other 0.9%