TODO-manager is a sample dockerized app to manage yours TODOs things and define a priority for it =D
- Order your TODOs
- Define and group yours TODOs a priority
- CRUD priorities and TODOs
To able to run the app You will need install the docker, docker-compose, Composer for PHP dependencies and mysql client for database setup.
- Docker -------------> https://docs.docker.com/engine/installation/
- Docker-compose -----> https://docs.docker.com/compose/install/
- Composer -----------> https://getcomposer.org
- MySQL --------------> https://dev.mysql.com/downloads/
Be sure all the follow ports are allowed to use.
- Port 8080 --> Run the Front-end
- Port 9001 --> Run the Api
- Port 3306 --> Run the MySql
After all pre requirements, just run the follow commands below:
$ git clone https://github.com/zzanette/todo-manager.git
$ cd todo-manager
$ docker-compose up -d
To be able to store data you need implement the database, if you already have mysql client installed just run:
$ mysql -h 127.0.0.1 -u root -proot todo-manager < ./app/data/setup-db/todo-manager.sql
Or fell free to connect with database with IDE and run the file in
- ./todo-manager/app/data/setup-db/todo-manager.sql
- User: root
- Password: root
The Api is running in PHP with the Micro Framework Slim Framework. Fell free to explore his struture in folder:
- ./todo-manager/app/api
Install the dependencies of the API, go to this folder and execute the commands below:
$ cd ./app/api
$ composer install
The front-end was maked with angularJs using the Angular Material template. To custom this, you can look at they respectives documentations:
In this project they are in this folder:
- ./todo-manager/app/angular-cli
And now you will access through the link =D