Skip to content

tutur3u/platform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Tuturuuu Monorepo

Vercel Platform Production Deployment CodeQL Test

Tuturuuu Cover

This monorepo contains multiple applications and services that make up the Tuturuuu ecosystem. It's powered by Turborepo for efficient management of multiple packages. View our documentation at docs.tuturuuu.com.

Project Structure

  • apps/web: Web application for Tuturuuu platform
  • apps/docs: Documentation website powered by Mintlify
  • apps/rewise: AI-powered chatbot for everyday tasks
  • apps/nova: Prompt engineering platform that allows everyone to Learn, Practice, Innovate, and Compete. Similar to Leetcode for Algorithms and Kaggle for Machine Learning & AI

Features

Tuturuuu services include:

  • Task management (upcoming)
  • Calendar scheduling and management (upcoming)
  • Finance management
  • User management (personal and enterprise, internal and external)
  • Inventory management
  • Mailing services (integrated with user management for group-scoped post notifications)
  • Workspace permission management
  • Granular permission control
  • API & Secrets system
  • External migration support
  • AI chat with deep integration across all features and products

Prerequisites

  • Node.js (v22+)
  • bun (v1.2+) - Install with:
    • macOS/Linux: curl -fsSL https://bun.sh/install | bash
    • Windows: powershell -c "irm bun.sh/install.ps1 | iex"
  • Docker (latest)

Getting Started

  1. Clone the repository:

    git clone https://github.com/tutur3u/platform.git
    cd platform
  2. Configure Tiptap Pro Registry:

    This step is no longer needed.

  3. Install dependencies:

    bun i
  4. Start the Supabase local development environment:

    bun sb:start

    This will provide the necessary URLs and keys for local development.

  5. Create environment files:

    Create a .env.local file in each app directory (apps/*/.env.local) using the corresponding .env.example template and add the Supabase URLs and keys from the previous step.

  6. Start the desired application(s):

    Use the appropriate bun scripts to start the applications.

    bun dev

Community & Support

If you have any questions, feel free to reach out to our community or support team:

Development Tools

This turborepo has some additional tools already setup for you:

Tip

If you're using VS Code, you can install following the recommended extensions that will help you with the development process: ESLint, Prettier, Vitest, Tailwind CSS IntelliSense, Version Lens, Error Lens, Pretty TypeScript Errors, Material Icon Theme.

Build

To build all apps and packages, run the following command:

bun run build

Develop

To develop all apps and packages (without requiring a local setup), run the following command:

bun dev

To stop development apps and packages that are running on your local machine, run the following command:

bun stop

Supabase

To start a local supabase instance (database), run the following command:

bun sb:start

Note

This command will start a local supabase instance on your machine. You can access the Supabase Studio Dashboard by visiting http://localhost:8003

You can access the InBucket service that handles all email sending operations on your local machine by visiting http://localhost:8004

Supabase Prerequisites

Warning

You need to have Docker installed and running on your machine to start a local supabase instance.

Stop Local Supabase Instance

To stop the local supabase instance, run the following command:

bun sb:stop

Better Development Experience

In case you want to run all local development servers, run the following command:

bun devx

Running devx will:

  1. Stop the currently running supabase instance and save current data as backup (if there is any)
  2. Install all dependencies
  3. Start a new supabase instance (using backed up data)
  4. Start all Next.js apps in development mode

If you want to have the same procedure without the backup, you can run bun devrs instead. This will:

  1. Stop the currently running supabase instance (if there is any)
  2. Install all dependencies
  3. Start a new supabase instance (with clean data from seed.sql)
  4. Start all Next.js apps in development mode

In case you don't want to run a local supabase instance, you can run bun dev instead.

Local development

There are 5 seed accounts that are already set up for local development:

  1. local@tuturuuu.com
  2. user1@tuturuuu.com
  3. user2@tuturuuu.com
  4. user3@tuturuuu.com
  5. user4@tuturuuu.com

Test

To run all tests, run the following command:

bun run test

Note: Tests are still a work in progress. We're currently working on adding tests to all packages to ensure the best quality possible.

Additional Information

Contribution Guidelines

We welcome contributions! Please read our CONTRIBUTING.md file for guidelines on how to submit pull requests, report issues, and suggest improvements. If there is any security vulnerability, please report it responsibly by following our security policy. For more detailed information, please refer to our Code of Conduct.

Troubleshooting

Common issues and their solutions:

  1. Supabase connection issues: Ensure Docker is running and you've correctly set the Supabase URLs and keys in your .env.local files.
  2. Build errors: Make sure you're using the correct Node.js version (v20+) and have run bun i to install all dependencies.

Performance Optimization

To improve build and development performance:

  • Use bun for faster package installation, better disk space usage, and significantly improved startup times (4x faster than Node.js). See Bun's design goals for more details.
  • Leverage Turborepo's caching capabilities by utilizing remote caching.

Learning Resources

License

This project is licensed under the Apache License, Version 2.0. See the LICENSE file for more details.

About

Your digital ally for seamless productivity and collaborative success.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 29