qfluis / itacademy_node_s3.3-s4-s5_rest_server-jwt-bd-sockets Goto Github PK
View Code? Open in Web Editor NEWThis project forked from it-academy-bcn/nodeinitialdemo
This project forked from it-academy-bcn/nodeinitialdemo
Connect render deleteTask() with class method deleteTask() with database
El fichero a implementar sería 'bd/database-json.js'.
El fichero 'bd/pruebas.js' lo puedes utilizar para hacer pruebas, no forma parte de la aplicación final.
Redactar el README.md, con info del proyecto, como arrancarlo, dependencias utilizadas...
El fichero a implementar sería 'bd/database-json.js'.
El fichero 'bd/pruebas.js' lo puedes utilizar para hacer pruebas, no forma parte de la aplicación final.
Implement render of deleteTask().
Base this on seeTask() render view as it shows all task.
¿con variable de entorno (.env)?
Connect render listTasks() with class method seeTask() with database
Implement render of deleteTask().
Base this on seeTask() render view as it shows all tasks.
Crear las clases de Tabla, Tarea y Usuario en diferentes ficheros con los atributos y los metodos iniciales vacios (solo estructura)
Connect inquirer render selectUser() with class method selectUser() with database
Crear/pensar la clase DB para que luego sea más facil la integración con mySQL y MongoDB.
Pensar los metodos que tiene que tener esta clase.
El fichero a implementar sería 'bd/database-json.js'.
El fichero 'bd/pruebas.js' lo puedes utilizar para hacer pruebas, no forma parte de la aplicación final.
https://github.com/leonzalion/inquirer-press-to-continue
En lugar de función pause();
See the schema here https://github.com/qfluis/ITAcademy_node_S4-S5_REST_SERVER-JWT-BD-SOCKETS/wiki
Connect render createUser() with class method createUser() with database
// Print task via command line
const { status, id, createdBy, title, createdAt, startedAt, finishedAt } = task;
console.table({ status, id, title, createdBy, createdAt, startedAt, finishedAt });
I create task. createdAt Date does not show in Print Task
I update status. startedAt, FinishedAt do not show in Print Task
The dates are added in the database
en fichero db/database-mysql.js
Hola, el lunes revisamos y entregamos el ejercicio 3.3.
Buen finde 🙂
inquirer será lo arranque en app.js
Tenemos que crear el esquema de las pantallas del "inquirer".
Ejemplo:
TODO
1-asdf
2-asdf
ONGOING
3-asdf
4-asdf
DONE
5-asdf
connect render seeTask() with class method seeTask() with database
Connect render createTask() with class method createTask() with database
Connect render updateTask() with class method updateTask() with database
Habría que hacer cambios en inquirer para mostrar las opciones...
Check the schema here: https://github.com/qfluis/ITAcademy_node_S4-S5_REST_SERVER-JWT-BD-SOCKETS/wiki
Connect inquirer render seeUser() with database
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.