This app allows users to log in, create a post, delete a post, post a comment, and delete a comment.
This app uses the MongoDB, Express, React, and Node.
Add this to config/keys.js
module.exports = {
googleClientID:'',
googleClientSecret:'',
mongoURI:''
}
module.exports = {
googleClientID:'',
googleClientSecret:'',
mongoURI:''
}
At https://console.developers.google.com, set Authorized JavaScript origins to http://localhost:5000, and Authorized redirect URIs to 'http://localhost:5000/auth/google/callback' and 'http://localhost:3000/auth/google/callback'. Double check that Cliend ID and Client secret match the ones in config/keys.js