This repository contains an API to serve blog posts.
- OOPHP
- PDO
- Prepared statements
- MySQL
PK = Primary Key FK = Forign Key
id (PK) name created_at
id (PK) category_id (FK) title body author created_at
Create env related variables from a xml file
<config>
<dbname>myblog</dbname>
<username>root</username>
<password>password123</password>
</config>