Skip to content

DevMountain/full-stack-auth-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Full-stack auth example

This is an example of a full-stack app that students can refer to when building projects.

Front end

  • React
  • react-router-dom
  • Redux
  • redux-promise-middleware
  • Axios

Back end

  • Express
  • Express-session
  • Passport
  • Auth0
  • Massive

Example of .env file

.env file
REACT_APP_LOGIN=http://localhost:3005/auth
SECRET=my-session-secret
AUTH_DOMAIN=my-auth-domain
AUTH_CLIENT_ID=my_auth_client_id
AUTH_CLIENT_SECRET=client-secret
AUTH_CALLBACK=http://localhost:3005/auth/callback
CONNECTION_STRING= URI from heroku database credentials

Contributions

If you see a problem or a typo, please fork, make the necessary changes, and create a pull request so we can review your changes and merge them into the master repo and branch.

Copyright

© DevMountain LLC, 2017. Unauthorized use and/or duplication of this material without express and written permission from DevMountain, LLC is strictly prohibited. Excerpts and links may be used, provided that full and clear credit is given to DevMountain with appropriate and specific direction to the original content.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published