🚀An open source Social Media Platform🚀
web
: a Next.js appapi
: a GraphQL API made with apollo-serverbelly
: a storage engine to handle file uploads for Local file storage and S3 cloud uploadconfig
:eslint
configurations (includeseslint-config-next
andeslint-config-prettier
)tsconfig
:tsconfig.json
s used throughout the monorepo
All packages and apps are 100% TypeScript
Click here
-
Orsive's first post
-
If you notice cache problems when using apollo client for infinite scroll, use
useClearApolloCacheOnExit
hook present inapps\web\hooks\app\useClearApolloCacheOnExit.tsx
This turborepo has some additional tools already setup for you:
- TypeScript for static type checking
- ESLint for code linting
- Jest test runner for all things JavaScript
- Prettier for code formatting
Turborepo can use a technique known as Remote Caching (Beta) 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 (Beta) you will need an account with Vercel. If you don't have an account you can create one, then enter the following commands:
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