- Clone this repository
- Checkout to develop branch
- Download the .env in here
- Create database in phpmyadmin using this command
CREATE DATABASE `fitness-plan-testing`;
- run "composer install"
composer install
npm i
php spark migrate:refresh
php spark db:seed UserSeeder
- Open 2 different terminal, run this in terminal 1
npm mix watch
and run this in terminal 2
php spark serve --port 8081
- Don't forget to start the Mysqli server in XAMP
No | HTTP Method | URL | Description |
---|---|---|---|
1 | GET | {{baseURL}}/calories-converter?calories=Q | Show the recommendation of activities taken after eating a food with Q calories |