Skip to content
 
 

Latest commit

 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌌 AuthSphere

AuthSphere is a comprehensive, enterprise-ready authentication platform designed to simplify identity management for developers. It provides a secure, scalable, and easy-to-integrate solution for handling user authentication, social logins, and project management.

🏗️ Project Architecture

The AuthSphere ecosystem consists of four main components:

  • /backend: The core API server built with Express and MongoDB. It handles OAuth2 flows, PKCE validation, session management, and project configurations.
  • /frontend: A premium developer dashboard built with React 19 and Tailwind CSS. This is where developers manage their projects, API keys, and view user analytics.
  • /package: The official @authsphere/sdk written in TypeScript. It provides a seamless way for developers to integrate AuthSphere into their client-side applications with built-in PKCE support.
  • /test: A demonstration React application showcasing the implementation and capabilities of the AuthSphere SDK.

✨ Key Features

  • 🛡️ Secure by Design: Built-in support for OAuth2 with PKCE (Proof Key for Code Exchange).
  • 🔌 Multi-Provider Support: Easily enable Google, GitHub, and Discord authentication.
  • 📊 Developer Dashboard: Manage multiple projects, rotate API keys, and monitor user logins.
  • 📦 Lightweight SDK: A type-safe TypeScript SDK for effortless integration.
  • 🎨 Premium UI/UX: Dark-mode first design with smooth animations and responsive layouts.

🚀 Quick Start

To get the entire ecosystem running locally, follow these steps:

1. Prerequisites

  • Node.js (v18+)
  • MongoDB (Local or Atlas)

2. Backend Setup

cd backend
npm install
# Create a .env file based on .env.example
npm run dev

3. Package Setup (SDK)

cd package
npm install
npm run build

4. Frontend Setup (Dashboard)

cd frontend
npm install
npm run dev

5. Run Demo App

cd test
npm install
npm run dev

🛠️ Technology Stack

  • Backend: Node.js, Express, MongoDB (Mongoose), JWT, Bcrypt.
  • Frontend: React 19, Vite, Tailwind CSS 4, Radix UI, Lucide Icons.
  • SDK: TypeScript, Fetch API, PKCE.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.


Built with ❤️ by the AuthSphere Team.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages