Fixed a bug where posts were not displaying because of SQL query and DATETIME
Fixes #70
Type of change
[x] Bug fix (non-breaking change which fixes an issue)
Testing Instructions
Please describe the tests required to verify your changes. Provide instructions so PR Tester can check functionality. Please also list any relevant details for your tests
Description
Deleted old comments and placeholder code.
Fixed a bug where posts were not displaying because of SQL query and DATETIME
Fixes #70
Type of change
Testing Instructions
Please describe the tests required to verify your changes. Provide instructions so PR Tester can check functionality. Please also list any relevant details for your tests
git fetch --all
git checkout <branch-name>
npm start
In another tab, cd into
api
and runjson-server -p 8088 -w database.json
Checklist: