Skip to content
/ super-starter Public template

Super modular monorepo template for your next product.

Notifications You must be signed in to change notification settings

muzam1l/super-starter

Repository files navigation

First things first

  • Change workspace and first app name: bun scripts/rename -w your-workspace-name -a your-app-name. Make sure everything is correct and commit the changes.

  • Setup postgres (DATABASE_URL). Neon preferred for easy setup or run local script for docker.

  • Setup NextAuth (AUTH_SECRET), Discord Provider (AUTH_DISCORD_ID, AUTH_DISCORD_SECRET) and GitHub Provider (AUTH_GITHUB_ID, AUTH_GITHUB_SECRET).

  • Install bun and bun i to install deps.

  • bun db:push to push schema to db without migrations.

  • bun dev to start the local dev setup.

  • Head over to the code and follow the lead!

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 m
bun x 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:

bun x turbo link

Useful Links

Learn more about the power of Turborepo:

About

Super modular monorepo template for your next product.

Resources

Stars

Watchers

Forks