Skip to content

p2p-app/p2p-rest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

p2p-rest

REST API for peer2peer (peer tutoring app).
Learn more about peer2peer here.
Built with dolphin.

documentation

View minimal documentation here

instructions

To run the REST API backend locally:

  1. Install PHP 5.6.x, Apache web server, and MySQL database (preferably XAMPP)
  2. Clone this repository into the htdocs or www directory of the web server
    • If needed, rename the repository directory to p2p-rest
  3. Download and install PHP Composer from https://getcomposer.org/
  4. Navigate to this directory in a shell and run composer install --no-dev
  5. Go to localhost/p2p-rest/rest to test the api
    • All urls in the query box equate localhost/p2p-rest/rest/api + query

 
To run the WebSocket backend locally:

  1. Under construction