Working with Your Workspace
File Navigation
- Use the Explorer panel to navigate between all three folders
- The “Monorepo Root” section shows your top-level files
- Use Ctrl+P (or Cmd+P on Mac) to quickly open files from any part of your project
When working on frontend or backend code, always open files from their respective workspace folders (Frontend or Backend), not from the Monorepo Root. This ensures VSCode uses the correct project context for language support, IntelliSense, and tool integration. The Monorepo Root folder should primarily be used for accessing top-level files like README.md, .gitignore, or project configuration files.
Integrated Terminal Management
Open separate terminals for each project:
- Open terminal (Ctrl + `)
- Click the
+dropdown next to the terminal tabs - Select the folder where you want the terminal to open
- Run your development servers:
- Frontend terminal:
npm run dev - Backend terminal:
fastapi dev main.py
- Frontend terminal:
Git Management
Since everything is in one repository:
- All changes from frontend, backend, and root files appear in a single Source Control panel
- You can commit changes from all projects together
- Branching affects the entire monorepo
- This keeps everything synchronized and simplifies deployment
Common Workflows
Starting Development
- Open your
project.code-workspacefile in VSCode - Open an integrated terminal for the backend folder
- Activate the virtual environment:
source venv/bin/activate(Linux/Mac) orvenv\Scripts\activate(Windows) - Start FastAPI:
fastapi dev main.py - Open a new terminal for the frontend folder
- Start React:
npm run dev
Making Changes Across Projects
- Modify your FastAPI endpoints in the backend folder
- Switch to the frontend folder to update API calls
- Update documentation in the monorepo root if needed
- All changes appear in one Git panel for easy committing
Managing Documentation and Configuration
- Edit README.md from the Monorepo Root folder
- Update
.gitignoreto exclude files from both projects - Add project-wide scripts or configuration files at the root level