Skip to content

Simple API REST para manejar usuarios y sus listas de TODO

License

Notifications You must be signed in to change notification settings

royarzun/cornershopTodo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CornerShop Todo - REST API

Build Status

Introduccion

El desafio era desarrollar una API capaz de manejar una TODO list, que cubriera los siguientes requerimientos:

  • Registrar un usuario.
  • Agregar tareas al TODO list.
  • Marcar una tarea como resuelta.
  • Obtener la lista de tareas y su estado actual.

Como medio de autentificacion se usa DRF TokenAuthentication

Instalacion

requerimientos del sistema

Django==1.9
djangorestframework==3.3.0
django-rest-swagger==0.3.10

Primero, instalar las dependencias para la aplicacion

$ pip install -r requirements.txt

Despues de instalada las dependencias ya puedes correr el development server

$ ./manage.py runserver

Usando la API

Para ver la documentacion completa de la API en la interfaz de Swagger, puede referirse a la URL:

$ http://localhost:8000/docs

En esta interfaz podra leer la documentacion e interactuar directamente con los endpoints

Consideraciones

  • Teniendo en mente que las tareas se pueden modificar despues de creadas, se permite crear tareas vacias
  • Usuario solo modifica sus tareas

Licencia

Copyright 2016 Ricardo Oyarzun

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

Simple API REST para manejar usuarios y sus listas de TODO

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages