A complete full-stack development environment with React, Vue 3, and .NET 8 templates.
DevTeam6/
βββ .devcontainer/ # Codespaces configuration
β βββ devcontainer.json # Container settings
β βββ post-create.sh # Auto-setup script
βββ app/ # π· Existing main React app
βββ projects/ # π Existing projects folder
βββ templates/ # π¦ Starter templates
β βββ react-starter/ # π΅ React 18 + Vite + TypeScript
β βββ vue3-starter/ # π’ Vue 3 + Router + Pinia
β βββ dotnet8-api/ # π£ .NET 8 Web API + Swagger
βββ devteam6-workspace.code-workspace # VS Code workspace
βββ package.json # Root workspace scripts
βββ WORKSPACE_GUIDE.md # This file
- Click Code β Codespaces β Create codespace on main
- Wait for setup to complete (~2-3 minutes)
- Open
devteam6-workspace.code-workspacewhen prompted - Run
npm run devto start all applications
# Clone the repository
git clone https://github.com/SpiralCloudOmega/DevTeam6.git
cd DevTeam6
# Install all dependencies
npm run install:all
# Open workspace in VS Code
code devteam6-workspace.code-workspace
# Start all applications
npm run dev| Command | Description | Ports |
|---|---|---|
npm run dev |
Run ALL templates simultaneously | 3000, 5173, 5000 |
npm run dev:react |
React template only | 3000 |
npm run dev:vue |
Vue 3 template only | 5173 |
npm run dev:dotnet |
.NET API only | 5000 |
npm run dev:frontend |
React + Vue (no API) | 3000, 5173 |
npm run dev:app |
Main app folder | varies |
npm run dev:projects |
Projects folder | varies |
| Command | Description |
|---|---|
npm run build |
Build all templates |
npm run build:react |
Build React template only |
npm run build:vue |
Build Vue 3 template only |
npm run build:dotnet |
Build .NET API only |
| Command | Description |
|---|---|
npm run install:all |
Install all dependencies |
npm run clean |
Clean all node_modules and build outputs |
Location: templates/react-starter/
Stack:
- React 18.2
- TypeScript 5.2
- Vite 5.0
- ESLint + Prettier
Features:
- Hot Module Replacement
- Sample Button component
- Production build configuration
- TypeScript strict mode
Commands:
cd templates/react-starter
npm install
npm run dev # Start dev server
npm run build # Production build
npm run lint # Run linterBuild Output: 143KB (gzipped: 46KB)
Location: templates/vue3-starter/
Stack:
- Vue 3.4 (Composition API)
- TypeScript 5.3
- Vue Router 4.2
- Pinia 2.1 (State Management)
- Vite 5.0
Features:
- Client-side routing
- Centralized state management
- Example views and components
- Counter store demo
Commands:
cd templates/vue3-starter
npm install
npm run dev # Start dev server
npm run build # Production build
npm run lint # Run linterBuild Output: 94KB (gzipped: 37KB)
Location: templates/dotnet8-api/
Stack:
- ASP.NET Core 8.0
- C# 12
- Swagger/OpenAPI
- CORS enabled
Features:
- RESTful API structure
- Automatic API documentation
- Example WeatherForecast endpoint
- Development & production settings
Commands:
cd templates/dotnet8-api
dotnet restore
dotnet run # Start API
dotnet build # Build project
dotnet watch run # Hot reloadSwagger URL: http://localhost:5000/swagger
The workspace includes pre-configured debug setups:
Single App Debugging:
- π΅ React App - Chrome debugger on port 3000
- π’ Vue 3 App - Chrome debugger on port 5173
- π£ .NET API - CoreCLR debugger on port 5000
- π Full Stack - Runs all apps with npm
Compound Debugging:
- π· React + .NET - Frontend + Backend combo
- π’ Vue + .NET - Vue frontend + API
- π¨ All Frontends - Both React and Vue
- Open
devteam6-workspace.code-workspacein VS Code - Go to Run & Debug panel (Ctrl+Shift+D)
- Select a configuration from the dropdown
- Press F5 or click the green play button
- Set breakpoints in your code
| Port | Application | URL |
|---|---|---|
| 3000 | React Starter | http://localhost:3000 |
| 5173 | Vue 3 Starter | http://localhost:5173 |
| 5000 | .NET 8 API | http://localhost:5000 |
| 5001 | .NET 8 API (HTTPS) | https://localhost:5001 |
The VS Code workspace is organized into 6 folders:
- π DevTeam6 Root (workspace scripts)
- π· Main App (existing React app)
- π Projects (existing Vue 3 projects)
- π΅ React Starter (template)
- π’ Vue 3 Starter (template)
- π£ .NET 8 API (template)
- C#: ms-dotnettools.csharp
- Vue: Vue.volar
- TypeScript/React: esbenp.prettier-vscode
The workspace automatically recommends:
- C# DevKit
- Vue - Official (Volar)
- ES7+ React/Redux snippets
- ESLint
- Prettier
- GitHub Copilot
- GitLens
- REST Client
- Tailwind CSS IntelliSense
If you see "port already in use" errors:
# Find process using the port (replace 3000 with your port)
lsof -i :3000
# Kill the process
kill -9 <PID># Clear npm cache
npm cache clean --force
# Remove all node_modules
npm run clean
# Reinstall everything
npm run install:all# React template
cd templates/react-starter
npm run build # Check for type errors
# Vue template
cd templates/vue3-starter
npm run build # Includes type checkingcd templates/dotnet8-api
# Clean build artifacts
dotnet clean
# Restore dependencies
dotnet restore
# Rebuild
dotnet buildNever commit sensitive data. Use environment files:
# Create .env.local files (already gitignored)
echo "API_KEY=your-key-here" > .env.localThe .NET API has CORS enabled for development. For production:
- Edit
templates/dotnet8-api/Program.cs - Modify the CORS policy to allow only your domains
- Remove
AllowAnyOrigin()and useWithOrigins("https://yourdomain.com")
cd templates/react-starter
npm run build
# Deploy the dist/ folder to your hosting providercd templates/vue3-starter
npm run build
# Deploy the dist/ folder to your hosting providercd templates/dotnet8-api
dotnet publish -c Release
# Deploy the bin/Release/net8.0/publish/ folder- Use the workspace file: Open
devteam6-workspace.code-workspaceinstead of individual folders - Run parallel dev servers: Use
npm run devto start all templates at once - Commit often: Small, focused commits are easier to review
- Follow TypeScript: Leverage type safety in React and Vue templates
- Use Swagger: Test .NET API endpoints via Swagger UI
- Debug properly: Use VS Code debugger instead of console.log
- Clean builds: Run
npm run cleanif you encounter issues
- Create a feature branch
- Make your changes
- Test all affected applications
- Submit a pull request
See LICENSE file in the root directory.
Questions? Check the README.md files in each template folder for more specific documentation.
Need help? Create an issue in the GitHub repository.
Happy coding! π