Skip to content

RuslanKoynov/todo-test

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

todo-test

Setup and run

  • Install python3 and pip3
  • Install dependencies
pip install -r requirements.txt
  • Run server:
cd ./server
python3 app.py

API

  • /users

    • POST - create new user Sample Json
    {"user_name": "test user"}
    • GET - get all users
  • /users/string:user_name

    • DELETE - delete user with user_name
  • /tasks

    • POST - create new task Sample json
    {
        "task_name": "Task 9",
        "description": "This is Task 5",
        "assignee": "test user",
        "start_date": "2019-03-1333",
        "end_date": "2019-03-11 "
    }
    • GET - get all tasks
  • /tasks/int:task_id

    • DELETE - delete task with task_id
    • PUT - update task, example Json:
    {
      "task_name": "Task 9999999",
      "description": "This is Task 59999999",
      "assignee": "3000"
    }
    • GET - get task by task_id
  • /db

    • DELETE - will delete all tables and recreate from scratch

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 89.8%
  • JavaScript 6.3%
  • HTML 3.9%