AlexanderYovzhenko / WomanUP_Task

API для todo-лист

Home Page:https://woman-up-task.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

API для todo-лист(WomanUP_Task )

Documentation for endpoints

Home woman-up-task.vercel.app - home page, check if the server is running

Static file woman-up-task.vercel.app/robot.jpeg - view static file


  • woman-up-task.vercel.app/login/registration - registration

    • POST login/registration - JSON (login, password)

  • woman-up-task.vercel.app/login/authorization - authorization

    • POST login/authorization - get token, JSON (login, password)

  • woman-up-task.vercel.app/todo - requires authorization(header: authorization Bearer token)

    • POST todo - add task, JSON (any amount rows task of todo)
    • GET todo?param=any - get all tasks for db todo, QueryParam('?param = any row' - for filtered array tasks)
    • GET todo/:taskId - get task by id, Param(taskId - id by task)
    • GET todo/page/:page - get tasks by page, Param(page - number page)
    • PUT todo/:taskId - update task by id, Param(taskId - id by task), JSON (any amount rows of task)
    • DELETE todo/:taskId - delete task by id, Param(taskId - id by task)

  • woman-up-task.vercel.app/file - upload file

    • POST file - upload file, key - file

About

API для todo-лист

https://woman-up-task.vercel.app


Languages

Language:JavaScript 100.0%