A site to connect patients with their dietician.
Requires PHP and SQL to run.
Create a new SQL database.
Create a table called user
with the following columns:
id
with typeint
,AUTO_INCREMENT
checked, andPRIMARY_KEY
checkedusername
with typetext
password
with typetext
type
with typeint
number
with typeint
connection
with typetext
goal
with typetext
deadline
with typetext
notes
with typetext
breakfast
with typetext
lunch
with typetext
snack
with typetext
dinner
with typetext
comments
with typetext
date
with typetext
title
with typetext
ingredients
with typetext
calories
with typetext
macronutrients
with typetext
Clone the repository:
$ git clone https://github.com/nicoella/OnTrack
Update config.php
with [database]
replaced by your database name and [password]
replaced by your database password.
Start a PHP server with [port]
replaced by your port of choice:
$ php -S localhost:[port] -t OnTrack
Visit the site at localhost:[port]
.