https://github.com/supertokens/gloogle
The OAuth2 provider demo app, using SuperTokens' unified login
https://github.com/supertokens/gloogle
Last synced: 12 days ago
JSON representation
The OAuth2 provider demo app, using SuperTokens' unified login
- Host: GitHub
- URL: https://github.com/supertokens/gloogle
- Owner: supertokens
- License: mit
- Created: 2024-11-26T14:03:51.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-11-27T09:23:45.000Z (7 months ago)
- Last Synced: 2025-03-09T09:02:51.618Z (4 months ago)
- Language: TypeScript
- Size: 84 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 🏰 Gloogle 🏰
Gloogle is a demonstration project showcasing SuperTokens' Unified Login feature, illustrating how to create your own tech empire with a unified "Login with {YOUR_TECH_EMPIRE_NAME}" button.
## 🌟 Features
- Unified authentication across all services
- Multiple applications sharing the same auth backend
- Different frontend frameworks working together:
- React (Gloogle Mail, Gloogle Auth)
- Vanilla TypeScript (Gloogle Docs)
- SolidJS (Gloogle Calendar)## 📦 Projects
- **🔧 Backend** (`/backend`): Express.js backend with SuperTokens integration, using the [Unified Login feature](https://supertokens.com/docs/unified-login/introduction)
- **🔐 Gloogle Auth** (`/gloogle-auth`): The authentication service frontend built with React
- **📝 Gloogle Docs** (`/gloogle-docs`): Document editor built with Vanilla TypeScript
- **✉️ Gloogle Mail** (`/gloogle-mail`): Email client built with React
- **📅 Gloogle Calendar** (`/gloogle-calendar`): Calendar app built with SolidJS## 🚀 Getting Started
1. Clone the repository:
```bash
git clone [email protected]:supertokens/Gloogle.git
cd Gloogle
```2. Install dependencies for all projects:
```bash
npm run install:all
```3. Register the OAuth clients:
```bash
# Assuming you're running a Unix-like system
./register_services.sh
```4. Start the services:
```bash
npm start
```## 🌐 Services
- Backend: http://localhost:3000
- Gloogle Auth: http://localhost:3001
- Gloogle Docs: http://localhost:5173
- Gloogle Mail: http://localhost:5174
- Gloogle Calendar: http://localhost:5175## 🛠️ Built With
- [SuperTokens](https://supertokens.com)
- [React](https://react.dev)
- [SolidJS](https://solidjs.com)
- [TypeScript](https://www.typescriptlang.org)
- [Express.js](https://expressjs.com)
- [Vite](https://vitejs.dev)## 📄 License
This project is licensed under the MIT License - see the LICENSE file for details.