Developer Sandbox
This guide explains how to launch, develop, and share the RAD-Template inside GitHub Codespaces. GitHub Codespaces provides a fully configured cloud development environment that runs in the browser.
Prerequisites
Before you begin, ensure the following:
- You have access to the RAD Template repository on GitHub.
- You're signed in with a GitHub account that supports Codespaces.
- You have basic familiarity with React / Next.js development
Launching the App in GitHub Codespaces
Open in Codespaces
- Go to the repository on GitHub.
- Click the Code button → select the Codespaces tab.
- Choose "Create new Codespace on main"
- GitHub will provision a new containerized development environment with all dependencies preinstalled.
Codespaces will initialize the project, automatically installing dependencies.
Note: Multiple developers can spin up their own Codespace simultaneously without conflicts.
Start the Application
- Open the integrated terminal:
Ctrl+` - Run
# Run dev server
npm run dev - When the app starts, GitHub will detect a port and show a prompt "Your application is running on port 3006. Would you like to open it in the browser?"
- Click "Open in Browser."
This opens a live preview of the app at a Codespaces generated *.app.github.dev URL. You can make any changes, and it will reflect automatically in the forwarded address.
Sharing Your Running App
By default, RAD Template runs on port 3006.
- In the bottom panel of Codespaces, click Ports. You should see:
3006 → https://<random-id-3006>.app.github.dev - Make the port public
- Right click on the port row.
- Hover over "Port Visibility"
- Choose Public
- Share the URL
- Copy the forwarded URL ending in
.app.github.devand send it to your coworker. - They can open it directly in their browser and view the running app.
- Copy the forwarded URL ending in
⚠️ Note: The shared link only works while the Codespace is running.
Codespaces Best Practices
- Stop Codespaces when not in use to conserve compute hours. You can find all your codespaces here: https://github.com/codespaces