Code Monkey home page Code Monkey logo

18feb06 / tutur3u Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tutur3u/tutur3u

0.0 0.0 0.0 9.65 MB

An open-source digital workspace to streamline your workflows and collaborate with others. Stay organized, bring ideas to life, and boost productivity with flexible tools for tasks, projects, documents, and more.

Home Page: https://tuturuuu.com

License: Apache License 2.0

JavaScript 0.35% TypeScript 83.18% CSS 0.55% Nix 0.02% HTML 0.41% PLpgSQL 15.49%

tutur3u's Introduction

Tuturuuu Monorepo

Build and test Supabase CI

This repository is a monorepo for all of Tuturuuu's services, powered by Turborepo.

What's inside?

This turborepo uses pnpm as a package manager. It includes the following packages/apps:

Apps

  • app: a Next.js app with Tailwind CSS support that contains all public information about Tuturuuu, including the landing page, pricing plans, branding-related resources and Tuturuuu's services through a web application interface. On production, this app is located at tuturuuu.com.

Packages

  • ui: a stub React component library with Tailwind CSS shared by the web application.
  • eslint-config-custom: ESLint configurations (includes eslint-config-next and eslint-config-prettier).
  • tailwind-config: Tailwind CSS configurations.
  • tsconfig: tsconfig.jsons used throughout the monorepo.

Utilities

This turborepo has some additional tools already setup for you:

Setup

Before proceeding to the Build and Develop sections, you should have pnpm installed on your local machine. The most common way to install it is using npm:

npm install -g pnpm

More information can be found at the pnpm installation page.

After installing pnpm, you can install all dependencies by running the following command:

pnpm install

or

pnpm i

Build

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

pnpm build

Develop

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

pnpm dev

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

pnpm stop

Better Development Experience

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

pnpm 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 pnpm 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 pnpm dev instead.

Local development

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

  1. [email protected]
  2. [email protected]
  3. [email protected]
  4. [email protected]
  5. [email protected]

Test

To run all tests, run the following command:

pnpm 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.

tutur3u's People

Contributors

codefactor-io[bot] avatar dependabot[bot] avatar devadaviddd avatar renovate[bot] avatar thu-ngx avatar vhpx avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.