Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

El api debería poder crear centros de acopio #14

Open
rbdr opened this issue Sep 21, 2017 · 0 comments
Open

El api debería poder crear centros de acopio #14

rbdr opened this issue Sep 21, 2017 · 0 comments
Assignees
Labels

Comments

@rbdr
Copy link
Contributor

rbdr commented Sep 21, 2017

POST a /v1/acopios

este es el schema con el que estamos trabajando:

CREATE TABLE `CentrosDeAcopio` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `nombre` varchar(400) DEFAULT NULL,
  `direccion` varchar(1000) DEFAULT NULL,
  `latitud` double DEFAULT NULL,
  `longitud` double DEFAULT NULL,
  `status` varchar(20) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id_UNIQUE` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

Hay que basarse en este file: https://github.com/Skycatch/acopio-api/blob/develop/lib/plugins/acopios/post.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants