Implemented OAuth login.
Added user Id to vacation schema, when created, vacation stores the Id of user.
When vacation is created, its id is pushed into that user's array of vacations.
Refactored vacations so it only shows that user's vacations.
You will need to run npm i to get oauth related dependencies, I will need to send you some things to copy into .env.
Implemented OAuth login. Added user Id to vacation schema, when created, vacation stores the Id of user. When vacation is created, its id is pushed into that user's array of vacations. Refactored vacations so it only shows that user's vacations.
You will need to run npm i to get oauth related dependencies, I will need to send you some things to copy into .env.