Setup your development environment
Learn how to update your docs locally and deploy them to the web.Prerequisites
Before you begin, make sure you have:- Node.js 18+ installed
- A text editor (VS Code recommended)
- Git for version control
Node.js Installation
Node.js Installation
Download and install Node.js from nodejs.org. We recommend using the LTS version.Verify your installation:
Git Setup
Git Setup
Install Git from git-scm.com and configure your identity:
Clone the repository
Start by cloning the FlashMind repository:Install dependencies
Install the required dependencies using npm:Environment setup
1
Create environment file
Copy the example environment file:
2
Configure Convex
Set up your Convex backend:This will prompt you to create a new Convex project.
3
Configure Clerk
Add your Clerk keys to
.env.local
:Start development
Run the development server:The development command runs both the Next.js frontend and Convex backend in parallel.
Create your first deck
1
Sign up
Navigate to the sign-up page and create your account using Clerk authentication.
2
Create a deck
Click “Create Deck” and give it a name and description.
3
Add cards
Start adding flashcards to your deck with questions and answers.
4
Start studying
Begin your first study session and experience the spaced repetition algorithm.