Dev environment setup and GitHub repository for Programming PHP Team project.
In terminal:
docker-compose up
In db.php file connect to current database by filling the correct database name
$host = 'db';
$dbname = 'lionDB'; // replace with the correct dbname
Example create statements for todos table:
--
-- Table structure for table `todos`
--
CREATE TABLE `todos` (
`id` int NOT NULL,
`todoTitle` varchar(50) NOT NULL,
`todoDescription` varchar(250) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
- Dev setup: PHP-MAMP @kalwar
Team Alpha:
- @julilan Julianna Molnár
- @stacknatic Michael Akerele
- @sahilt2 Sahil Thapa
- @maheshbhandari433 Mahesh Bhandari