Goals. Build the architecture for a global state using React context so that user information is accessible on all your pages. Add a MongoDB connection so that you can store and retrieve user information.
Create user authentication architecture and flows. When a user signs in for the first time, store the user's Google information and other relevant user data in MongoDB.
On subsequent sign ins, retrieve and update the user information in the database.
When a user signs in, use the Google email to retrieve user data from MongoDB and save it in the global context in your application while the user is signed in.
Display the user information in various parts of the app, like the navbar and user profile page.
Work with Promises, write more function definitions, practice the move-the-console method, see examples of good naming, add conditional statements to your code, and more.