-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDocumentacion.txt
47 lines (39 loc) · 1.33 KB
/
Documentacion.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
C:\Users\lmb_g\ControlDeGastos (master)
λ express --view=pug HISTORIA
create : HISTORIA
create : HISTORIA/package.json
create : HISTORIA/app.js
create : HISTORIA/routes
create : HISTORIA/routes/index.js
create : HISTORIA/routes/users.js
create : HISTORIA/views
create : HISTORIA/views/index.pug
create : HISTORIA/views/layout.pug
create : HISTORIA/views/error.pug
create : HISTORIA/public
create : HISTORIA/bin
create : HISTORIA/bin/www
create : HISTORIA/public/images
create : HISTORIA/public/javascripts
create : HISTORIA/public/stylesheets
create : HISTORIA/public/stylesheets/style.css
install dependencies:
> cd HISTORIA && npm install
run the app:
> SET DEBUG=historia:* & npm start
Adquisicion
{
fecha_de_obtencion: date,
vence : boolean, /* indica la fecha en la que vence el */
fecha_de_vencimiento: date /* indica la fecha en la que se vence el articulo */
monto: money
foto: jpg, png, svg, gif.
video: video donde se muestre la adquisicion;
disponible: indica si aun tengo el bien en cuestion
}
listar las adquisiciones
post - Historial/Guardar/Adquisicion/<>
put - Historial/Actualizar/Adquisicion/{parametros}
post - Historial/Eliminar/Adquisicion/id
get - Historial/Listar/Adquisicion/{pagina : 1, cantidad : 10}
get - Historial/Mostrar/Adquisicion/id