This project showcases how to add OAuth to a Node.js CRUD application using TypeScript. 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. Use yarn dev
to run the development app.
This sample is referenced, and more clearly explained, in a post for the ngrok blog called Adding OAuth to a Node.js CRUD app