ToDo2 is a simple task management application built in PHP and Javascript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
server
www
.editorconfig
.gitignore
README.md
docker-compose.yml

README.md

ToDo2

Todo2 is a task management app I've built to learn a few new skills

  • How to build and deploy a simple PHP service
  • How to build a complex JavaScript frontend without a framework
  • How to meet AA conformance on a single page application

Running Locally

You'll need Docker and Docker-Compose installed run docker-compose up from the project root to spin up the enviorment.

PHP & MYSQL

You'll need to add the todo's table using Sequel Pro or phpmyadmin (running on localhost:8081) to do this. Run this query to create the todo's table

CREATE TABLE todo (id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, title VARCHAR(255), due_date DATE, completed INT NOT NULL)

Javascript & SCSS

If you'd like to make changes to the frontend you'll need to run a few commands from the www/ directory in terminal

for development

npm run watch

for build

npm start