Skip to content

enes-erenn/react-authentication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 

Repository files navigation

Getting Started with React Authentication

Hi! In this repository i've covered react auhtentication according as React: Authentication course on linkedin. This repository includes final and ready to use authentication code snippets of the course.

Note: This reposity is not entirely connected to the course.

I have changed some parts and designed according to my needs.

Tech Stack of Repository;

Frontend

  • React
  • React Router Dom

---Dependencies---

  • Axios
  • Styled Components

Backend

  • Node.js
  • Express
  • MongoDB

---Dependencies---

  • JSON Web Token
  • Mongoose
  • UUID
  • Babel
  • Bcrypt
  • Cors
  • Dotenv
  • Google APIS
  • SendGrid

Features

  • Login with Email
  • Login with Google
  • Sign-up with Email
  • Password Resetting
  • Email Verification

What should you know?

I have separeted the backend and frontend. You need to run the backend and frontend on the different CLI. There is some dependencies that i have used in. So there are some "API KEYS or IDs" and "STRINGS" you need to change it with your own in the environment file.

Note: Before run the scripts you need to change the ".env.local" to the ".env".

Avaliable Scripts

Backend

npm run dev

Runs the backend.
Open http://localhost:8080 to view it in your browser.

The page will not reload when you make changes.
You may also see any lint errors in the console.

Frontend

npm start

Runs the frontend.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.