You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Robin Thoni b37f6abe44 updated apache config for check.php hace 10 años
misc updated apache config for check.php hace 10 años
.gitignore media upload hace 10 años
README database graphical structure hace 10 años
index.php fixed confirm regex hace 10 años
sql.php api key check hace 10 años
status.php fixed error messages hace 10 años
user.php fixed error messages hace 10 años
utils.php check_table_field return all fields hace 10 años

README

VDM webservice API for 3ie recruitment.

API online demo:
https://api.vdm.rthoni.com/
Api-Key: demo42

API Documentation:
- https://api.vdm.rthoni.com/doc/index.html
- http://vdm.3ie.fr/doc/index.html

Developped with:
- apache2
modules:
- ssl (optionnal)
- rewrite
- PHP 5.3.3-7+squeeze19
- mysql Ver 14.14 Distrib 5.1.73

Apache configuration example:
misc/api.vdm

API configuration example:
misc/config.php.sample
Save it as misc/config.php

Database structure:
misc/database.png
misc/create_database.sql
Create database, then insert this structure

API test:
Create structure then fill database with test_database.sql
Exec misc/tests.php

Clear script:
misc/api.vdm-clear.php
Remove expired tokens
Run it frequenlty (every 24h would be nice)
Cron example:
misc/api.vdm-cron