-
Step one :
git clone
into a folder. -
Step two(on command line) : import the database
mysql -u username -p database_name < db.sql
-
Step three : on the same folder, run
php -S localhost:YOUR_PORT
or./server.sh
* GET http://localhost:8000/api/v1/songs (all music)
* GET http://localhost:8000/api/v1/songs?id
* GET http://localhost:8000/api/v1/instruments (v0.3)
* GET http://localhost:8000/api/v1/instruments?id (v0.3)
[x] check the database connection
[x] check if your data is empty
[ ] check url