Mern Flashcards App
https://ecstatic-allen-917012.netlify.app/
Live Demo:Frontend :
Setup: use npm install followed by npm start. Runs on localhost:3000
- React
- react-bootstrap for Navbar, Buttons, and the Question Choices
Backend :
Setup: npm install followed by npm start (or npm run server - will run with nodemon). Runs on localhost:8000
- passport
- mongodb
- node
- express
- OAuth with google
To-Do :
Style Homepage add login / signin
- - Add user profile and redirect to profile after auth.
Show/Hide Flashcards unless user is signed in.
- Backend - I don't think current method of getting data from backend is most efficient - look for alternatives.
- Flash card groups (maybe)
- - When flashcard is clicked it changes color (I have no idea how to do this)
flashcard groups:
Mernreactreduxnodeexpress
Add:
- Google auth Schema information
- googleId
- imageUrl
- name
- givenName
- familyName
Research:
why it won't render in safari3rd party sign-in auth
Miscellaneous :
following files were changed to add api to routes:
- Backend: server.js
- frontend: authActions.js
- ReactCards.js
- Flashcards.js
- _redirects
https://github.com/kaloraat/mern-auth-client
frontend:https://github.com/kaloraat/metn-auth-api
backend:https://github.com/kaloraat/mern-auth-bundle
social login references: https://aaryanadil.com/react-social-login-tutorial-google-facebook-and-twitter-oauth2
https://jasonwatmore.com/post/2020/10/25/react-facebook-login-tutorial-example