The Todolist app which was built with Python Flask and VueJS
Only Python 3.6+ is supported
- Clone repository
$ git clone https://github.com/zshanabek/todo-app
$ cd todo-app
- Install Python dependencies
$ cd server
$ pip3 install -r requirements.txt
- Run server
$ python3 api.py
- Get todos
$ curl localhost:5000/todos
Expect json response:
[
{
"id": 1,
"title": "build an API",
"description": "this is desc1",
"due_date": "2018-11-16",
"completed": true,
"created_at": "2018-11-15 15:10:29.706557",
"updated_at": "2018-11-15 15:10:29.706557"
},
{
"id": 2,
"title": "write article",
"description": "this is desc1",
"due_date": "2018-11-17",
"completed": true,
"created_at": "2018-11-15 15:10:29.706557",
"updated_at": "2018-11-15 15:10:29.706557"
}
]
- Install Javascript dependencies
$ cd client
$ npm install
- Run server
$ npm run dev
- Your application is running here: http://localhost:8080