This project showcases how to add OAuth to a Node.js CRUD application using. The application contains a REST API built in Node and utilizing Express. Data will be saved and retrieved from a MongoDB database. The frontend is a React application that uses React Routes for navigation.
The project uses the ngrok JavaScript SDK to establish ingress, set a static domain, and integrate with Google OAuth.
This sample is referenced, and more clearly explained, in a post for the ngrok blog called Adding OAuth to a Node.js CRUD app
If you have any questions about this sample code, the blog post, or ngrok please reach out by creating an issue on this repo or hit us up on X (aka Twitter) @ngrokhq or LinkedIn, or join our community on Slack.