Skip to content

Latest commit

Β 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ” Full Stack Auth0-Protected React Application

This project is a secure, full-stack web application built with React (frontend) and Node.js/Express (backend), showcasing the use of Auth0 JWT access tokens to protect API endpoints.

βœ… Inspired by the Udemy course β€œSecure Your Vue.js Applications with Auth0” β€” but fully implemented in React + TypeScript.


✨ Features

  • βœ… React + TypeScript front-end with routing
  • βœ… Auth0 authentication (login/logout with redirect)
  • βœ… Secure access to profile and messages views
  • βœ… Protected Express backend (via Auth0 JWT verification)
  • βœ… POST & GET messages with bearer token validation
  • βœ… UI separation: MessageForm, MessagesList, and MessagesPage
  • βœ… Elegant layout using Flexbox and custom CSS
  • βœ… Auth0 logo integration + descriptive UI

πŸ–ΌοΈ Screenshots Auth0 Protected Message Page

πŸ“Έ Preview

App Preview

Or watch this short walkthrough:

πŸŽ₯ Demo Video


πŸ› οΈ Tech Stack

Layer Stack
Frontend React + TypeScript + Auth0 SDK
Backend Node.js + Express + express-jwt
Auth Auth0 (Universal Login)

πŸš€ How to Run Locally

# Clone the repo
git clone https://github.com/yourusername/auth0-react-ts-app.git
cd auth0-react-ts-app

# Frontend
cd front-end
npm install
npm start   # runs at http://localhost:3000

# In another terminal...
cd ../back-end
npm install
node src/server.js  # runs at http://localhost:3011

πŸ“„ License MIT License. Created by hugo.machefer@gmail.com for educational purposes.

🀝 Credits

Auth0

Udemy Course Inspiration https://www.udemy.com/certificate/UC-e2a3871f-77d2-4e3a-a1e2-7e5dda0070e5/?utm_campaign=email&utm_medium=email&utm_source=sendgrid.com

About

auth0 bindings pluged into a react based project

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages