Add /backend/config/keys.js file in the following format : module.exports = { google : { clientId : '*****', clientSecret : '*****' }, session : { cookieKey : "somesecretsauce" } }
Refer task schema for required fields
user_id : id of the user creating the task (authenticated user)
description : description of task
times : array times:[{ HH: Number, MM: Number, SS: Number, }]
Add POST /task route to create a new task
Add /backend/config/keys.js file in the following format :
module.exports = { google : { clientId : '*****', clientSecret : '*****' }, session : { cookieKey : "somesecretsauce" } }
Refer task schema for required fields user_id : id of the user creating the task (authenticated user) description : description of task times : array
times:[{ HH: Number, MM: Number, SS: Number, }]
Ask doubts on discord