jayrav13 / cs656-backend

An API for an NFC-based resume sharing Android app. Written in PHP Laravel.
0 stars 0 forks source link

CS656

To set up:

Use the below commands to easily install Composer, PHP's Dependency Manager:

curl -sS https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/composer

Consider executing the following cURL request to test that the server is working on Port 8000:

curl -i -X GET "http://localhost:8000/api/v0.1/heartbeat"

HTTP/1.1 200 OK
Date: Sun, 01 May 2016 22:29:14 GMT
Server: Apache/2.4.7 (Ubuntu)
X-Powered-By: PHP/5.5.9-1ubuntu4.14
Cache-Control: no-cache
Access-Control-Allow-Origin: *
Content-Length: 17
Content-Type: application/json

{"response":"OK"}