Giter VIP home page Giter VIP logo

react_and_firebase_auth's Introduction

User Authentication with React Router & Firebase

This project feature is key for any project that desires to securely allow users to sign in to our app using one or more sign-in methods, specifically email address and password sign-in.

Motivation

The motivation for me to build such a feature comes from my desire and passion to further increase my Javascript, react, and react-router-dom skills while creating projects that I will be including in many of my projects from here on out that may include any sensitive user data, or upon request from clients.

Build Status

The build status of this project is 100% complete and comes along with comments in the code for myself or anybody else that wishes to build upon or understand this code in a simpler format.

Tech/ Libraries/ Frameworks used/.

  • Firebase authentication SDK for sign-in, sign-out, and log-out capabilities.
  • React-router-dom v6, to navigate pages upon signing in signing up and logging out.
  • Bootstrap for all the UI styling

Features

The main feature that was implemented in this project was protected routes, thanks to the react-router-dom library, this requires a user to be signed in to view specific pages. I also took advantage of React's context hook to allow the access of user details globally, with any React component that is wrapped in the provider.

SDK reference

https://firebase.google.com/docs/auth/web/start

react_and_firebase_auth's People

Contributors

vychain94 avatar

Stargazers

Roman avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.