burakorkmez / mern-advanced-auth

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Advanced Auth Tutorial πŸ”’

Demo App

Video Tutorial on Youtube

About This Course:

  • πŸ”§ Backend Setup
  • πŸ—„οΈ Database Setup
  • πŸ” Signup Endpoint
  • πŸ“§ Sending Verify Account Email
  • πŸ” Verify Email Endpoint
  • πŸ“„ Building a Welcome Email Template
  • πŸšͺ Logout Endpoint
  • πŸ”‘ Login Endpoint
  • πŸ”„ Forgot Password Endpoint
  • πŸ” Reset Password Endpoint
  • βœ”οΈ Check Auth Endpoint
  • 🌐 Frontend Setup
  • πŸ“‹ Signup Page UI
  • πŸ”“ Login Page UI
  • βœ… Email Verification Page UI
  • πŸ“€ Implementing Signup
  • πŸ“§ Implementing Email Verification
  • πŸ”’ Protecting Our Routes
  • πŸ”‘ Implementing Login
  • 🏠 Dashboard Page
  • πŸ”„ Implementing Forgot Password
  • πŸš€ Super Detailed Deployment
  • βœ… This is a lot of work. Support my work by subscribing to the Channel

Setup .env file

MONGO_URI=your_mongo_uri
PORT=5000
JWT_SECRET=your_secret_key
NODE_ENV=development

MAILTRAP_TOKEN=your_mailtrap_token
MAILTRAP_ENDPOINT=https://send.api.mailtrap.io/

CLIENT_URL= http://localhost:5173

Run this app locally

npm run build

Start the app

npm run start

I'll see you in the next one! πŸš€

About

License:MIT License


Languages

Language:JavaScript 99.1%Language:HTML 0.8%Language:CSS 0.1%