Prerequisites
Before you begin, ensure you have the following installed:- Node.js 18.17 or later
- pnpm (recommended package manager)
- Git for version control
- Firebase account (optional, for cloud features)
Installing pnpm
If you don’t have pnpm installed:Installation Steps
1. Clone the Repository
First, fork the repository on GitHub, then clone your fork:2. Install Dependencies
Install all project dependencies using pnpm:- Next.js 16.1.6 with App Router
- React 19.2.3 with React Compiler
- TypeScript 5
- Tailwind CSS 4
- Firebase 12.8.0
- All other dependencies
3. Configure Environment Variables
Create a.env.local file in the root directory:
.env.local with your configuration:
Guest Mode: CV Builder works fully in guest mode with localStorage. Firebase configuration is only needed for cloud sync and authentication features.
4. Firebase Setup (Optional)
If you want to test cloud features:Create Firebase Project
- Go to Firebase Console
- Create a new project
- Register a web app in your project
Enable Authentication
- Navigate to Authentication in Firebase Console
- Click Get Started
- Enable Email/Password provider
Create Firestore Database
- Navigate to Firestore Database
- Click Create Database
- Choose Production mode
- Select a location
Configure Storage
- Navigate to Storage
- Click Get Started
- Use default security rules
Copy Configuration
Copy your Firebase web app configuration to.env.local.
5. Start Development Server
Start the Next.js development server:Available Scripts
Here are the main npm scripts you’ll use during development:| Command | Description |
|---|---|
pnpm dev | Start development server with hot reload on port 3000 |
pnpm build | Create optimized production build |
pnpm start | Start production server (requires build first) |
pnpm lint | Run ESLint to check code quality |
Development Workflow
Project Structure Overview
Verifying Your Setup
To verify everything is working correctly:- Development Server: Visit http://localhost:3000 and ensure the landing page loads
- Guest Mode: Click “Start Building” and verify you can edit a resume
- Linting: Run
pnpm lintand ensure no errors - Build: Run
pnpm buildand verify it completes successfully
Troubleshooting
Port Already in Use
If port 3000 is already in use:Build Errors
Clear the build cache:Dependency Issues
Reinstall dependencies:TypeScript Errors
Restart your TypeScript server in your IDE or run:Next Steps
Now that your environment is set up:- Read the Architecture Guide to understand the codebase
- Review the Code Style Guide for coding standards
- Check out open issues on GitHub to find something to work on
If you encounter any issues not covered here, please open an issue on GitHub!