Coder Social home page Coder Social logo

t3-turbo-trpc's Introduction

T3 Plasmo Turbo

plasmo

This is a template for creating T3 apps and Plasmo browser extensions using Turborepo. With Turborepo + TRPC Api, you can easily manage web app and browser extension projects in one repository. It's obviously been derived from the create-t3-turbo. Styling is not yet configured.

Folder Structure

apps
  ├─ plasmo
  |   ├─ Plasmo .69
  |   ├─ React 18 & /src
  |   ├─ Clerk Authentication
  |   ├─ Navigation using Expo Router
  |   └─ Typesafe API calls using tRPC
  └─ next.js
      ├─ Next.js 13
      ├─ React 18
  |   ├─ Clerk Authentication
      └─ E2E Typesafe API Server & Client
packages
 ├─ api
 |   └─ tRPC v10 router definition
 ├─ db
 |   └─ typesafe db-calls using Prisma
 ├─ ui
 |   └─ its been there by default (maybe we can add component library in this)
 ├─ eslint-config-custom
 |   └─ its been there by default
 └─ tsconfig
     └─ shared tsconfig (to be extended from)

Quick Started

cp .env.example .env

# get clerk secret and publishable key
# change db reference (optional)
yarn install
yarn db:push
yarn dev

View Chrome Extension

  1. Head over to chrome://extensions and enable Developer Mode.
  2. Click on "Load Unpacked" and navigate to your extension's /apps/plasmo/build/chrome-mv3-dev (or /apps/plasmo/build/chrome-mv3-prod) directory.
  3. Pin the extension & login. Note that, social login is not fully functioning, so it's best to stick with password or sending codes to mail

Migrate Prisma

yarn workspace db db:migrate

Deployment

TBC

Todos

  • Add Clerk to Project
  • Unify environment variables
  • Figure out styling library
  • Plasmo folder structure improvement
  • Plasmo state management
  • Fix Landing Page Appearance
  • Deployment

Contributing, Suggestions, Bug Reports and Feedback

I'm no expert and most of the stuff aren't finished, so, any contributions & feedbacks are welcomed! Just open an Issues or a PR!

If you encounter any bugs or issues while using this template, please report them in the Issues section of this repository.

References

The stack originates from create-t3-turbo.

t3-turbo-trpc's People

Contributors

jacksonkasi1 avatar

Watchers

 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.