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.
- 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)
- 🔧 Backend (
/backend
): Express.js backend with SuperTokens integration, using the Unified Login feature - 🔐 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
- Clone the repository:
git clone [email protected]:supertokens/Gloogle.git
cd Gloogle
- Install dependencies for all projects:
npm run install:all
- Register the OAuth clients:
# Assuming you're running a Unix-like system
./register_services.sh
- Start the services:
npm start
- Backend: http://localhost:3000
- Gloogle Auth: http://localhost:3001
- Gloogle Docs: http://localhost:5173
- Gloogle Mail: http://localhost:5174
- Gloogle Calendar: http://localhost:5175
This project is licensed under the MIT License - see the LICENSE file for details.