Bicycle Ride Tracker - Add Ride Name, Distance and Km 🚴.
MIT License
Bicycle Ride Tracker - Add Ride Name, Distance and Km.
/api/
folderquery.sql
file and Create Table for users and Ride data.env
fileAPIKEY=xxxxxxxx
DBHOST=localhost
DBNAME=xxxxxxxxxx
DBUSER=xxxxxxxxxxxx
DBPASSWORD=xxxxxxxxxxxx
curl --request POST \
--url http://localhost:6004/api/new.php \
--header 'Authorization: Bearer APIKEY' \
--header 'Content-Type: application/json' \
--data '{
"username": "username",
"password": "password"
}
'
## Start PHP local server
php -S localhost:6004
## Open URL
http://localhost:6004/
MIT