This repository is a comprehensive template for starting full-stack web development projects, pre-configured with Next.js, Clerk, Convex, ShadcnUI, and TailwindCSS.
I created this because I needed a quick way to start new projects with all the tools I use regularly. I hope you find it useful too!
To clone this template and start your own project, follow these instructions.
git clone https://github.com/joeBlockchain/full-stack-starter-kit.git YourNewProjectName
cd YourNewProjectNamerm -rf .git
git initCreate a new repository on GitHub for your project. Do not initialize it with any files since your project already includes them.
git remote add origin https://github.com/your_username/YourNewProjectName.git
git add .
git commit -m "Initial commit from FullStackStarterKit"
git branch -M main
git push -u origin mainnpm installOr if you're using Yarn:
yarnWith Clerk and Convex configured, and dependencies installed, start the development server:
npm run devOr with Yarn:
yarn devVisit http://localhost:3000 to see your application.
-
In a new terminal, run the following command to initialize your Convex development environment:
npx convex dev
-
Follow the prompts to configure a new Convex project.
-
The CLI will automatically update your
.env.localwith the necessary Convex configuration.
-
Visit Clerk Dashboard and create an account or log in.
-
Create a new instance for your project and obtain your Clerk Frontend API Key and Clerk Secret Key.
-
Copy
.env.local.sampleto a new file named.env.localand fill in your Clerk keys:NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY= CLERK_SECRET_KEY= -
navigate to JWT templates and create a new template and select convex as the provider
-
copy the jwt issuer token and add to env.local file
CLERK_JWT_ISSUER_DOMAIN=
-
create account on stripe
-
obtain api key for developers
-
copy secret key and add to env.local file
STRIPE_SECRET_KEY=your_stripe_secret_key -
add stripe key to convex
We welcome contributions to the FullStackStarterKit! Please see the contribution guidelines for more details.
This project is licensed under the MIT License.
This revised README includes all the necessary steps for users to get started with your FullStackStarterKit, ensuring they can seamlessly set up Clerk and Convex for their projects.