Skip to content

AishaAQ/auth-study

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔐 Authentication System

A proof-of-concept project focused on designing and implementing an authentication system. The application is built using Next.js and Spring Boot.

⚙️ Tech Stack

  • Next.js
  • React
  • TypeScript
  • Java
  • Spring Boot

✨ Features (In Progress)

  • Email-based authentication with session management
  • OAuth authentication flow
  • Email verification, 2FA and password recovery

📍 Motivation

In my previous projects, I did not dive deep into auth systems as they would either be handled by third party services like Firebase or they were not a primary focus. So, I wanted to build this project to understand the behind the scenes of an auth system while also learning about how these systems could be compromised and potential vulnerabilities.

▶️ Running the Project

This project consists of a frontend and backend that need to be run separately.

Backend (Spring Boot)

  1. Navigate to the backend/auth folder
cd backend/auth
  1. Run the Spring Boot Application
./mvnw spring-boot:run
  1. The backend server will run on http://localhost:8080

Frontend (Next.js)

  1. Navigate to the frontend folder
cd frontend
  1. Install dependencies:
npm install
  1. Run development server:
npm run dev
  1. Open http://localhost:3000 in your browser

📚 References

About

A proof-of-concept project focused on designing and implementing an authentication system. The application is built using Next.js and Spring Boot.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors