Skip to content

Simple todolist app built with Python Flask and VueJS

Notifications You must be signed in to change notification settings

zshanabek/todo-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

The Todolist app which was built with Python Flask and VueJS
Only Python 3.6+ is supported

Backend installation

  1. Clone repository
$ git clone https://github.com/zshanabek/todo-app
$ cd todo-app
  1. Install Python dependencies
$ cd server
$ pip3 install -r requirements.txt
  1. Run server
$ python3 api.py
  1. 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"
    }
]

Frontend installation

  1. Install Javascript dependencies
$ cd client
$ npm install
  1. Run server
$ npm run dev
  1. Your application is running here: http://localhost:8080

Screenshot