FeedAHelp / FeedAHelpless

First repo for the youtube vedio
https://feed-a-helpless-feedahelp.vercel.app
MIT License
1 stars 3 forks source link

Linux macOS GitHub PNPM HTML5 JavaScript TypeScript React React Query Next JS NodeJS TailwindCSS Styled Components MongoDB Jest Testing-Library cypress Youtube Gaming Storybook Socket.io Vercel

Turborepo starter

Turborepo is a high-performance build system for JavaScript and TypeScript codebases. It is designed to be incrementally adopted, so you can add it to most codebases in a few minutes.

Turborepo leverages advanced build system techniques to speed up development, both on your local machine and your CI/CD. It does this by:

Apps and Packages

Each package/app is 100% TypeScript.

Utilities

This Turborepo has some additional tools already setup for you:

Build

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

cd my-turborepo
pnpm build

Develop

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

cd my-turborepo
pnpm dev

Remote Caching

Turborepo can use a technique known as Remote Caching to share cache artifacts across machines, enabling you to share build caches with your team and CI/CD pipelines.

By default, Turborepo will cache locally. To enable Remote Caching you will need an account with Vercel. If you don't have an account you can create one, then enter the following commands:

cd my-turborepo
npx turbo login

This will authenticate the Turborepo CLI with your Vercel account.

Next, you can link your Turborepo to your Remote Cache by running the following command from the root of your Turborepo:

npx turbo link

Useful Links

Learn more about the power of Turborepo:

Seeding

To seed the database we need to run pnpm prisma db seed command going to the apps/server/ directory We can also sync our database before seeding with command pnpm prisma db seed To do it at the first time we have to run pnpm prisma reset. This will remove everything from our database and run the migrations and seed the db.