Skip to content

Sample: full-stack-no-backend - Build complete app with zero backend#47

Merged
waldekmastykarz merged 7 commits intomainfrom
copilot/create-app-with-zero-backend
Jan 19, 2026
Merged

Sample: full-stack-no-backend - Build complete app with zero backend#47
waldekmastykarz merged 7 commits intomainfrom
copilot/create-app-with-zero-backend

Conversation

Copy link
Contributor

Copilot AI commented Jan 6, 2026

Comprehensive sample demonstrating Dev Proxy's full value proposition: ship MVPs without a backend team using a complete offline development environment.

What's included

  • Dev Proxy config combining 4 plugins:

    • CrudApiPlugin - Full CRUD API with in-memory data store
    • AuthPlugin - API key authentication (x-api-key: dev-proxy-demo-key)
    • LatencyPlugin - Realistic 200-800ms response delays
    • DevToolsPlugin - Chrome DevTools integration
  • Vanilla JS frontend - Task manager with complete CRUD operations, no framework dependencies

  • Documentation - Architecture diagram, step-by-step guide

Screenshot

Architecture

[Frontend] → [Dev Proxy] → LatencyPlugin → AuthPlugin → CrudApiPlugin
                                                              ↓
                                                     [in-memory data]
Original prompt

This section details on the original issue you should resolve

<issue_title>Sample: full-stack-no-backend - Build complete app with zero backend</issue_title>
<issue_description>## Summary
Create a comprehensive sample that builds a complete app with zero backend using Dev Proxy.

Plugins to use

  • CrudApiPlugin - full CRUD API with in-memory data
  • AuthPlugin - authentication (API key or OAuth2)
  • LatencyPlugin - realistic response times
  • DevToolsPlugin - debugging

What to build

  • Complete CRUD API for a business domain (e.g., task manager, inventory)
  • Authentication layer (Entra or API key)
  • React/Vue/vanilla JS frontend
  • Realistic latency simulation
  • Full working application that runs entirely offline

Architecture

[Frontend App] → [Dev Proxy] → [CrudApiPlugin (in-memory DB)]
                      ↓
              [AuthPlugin (token validation)]
                      ↓
              [LatencyPlugin (realistic delays)]

Why this is compelling

Ship MVPs without backend team. Complete development environment in a single tool. Demonstrate Dev Proxy's full value proposition.

Reference docs

  • CrudApiPlugin technical reference
  • AuthPlugin technical reference
  • LatencyPlugin technical reference
  • Simulate a CRUD API how-to guide
    </issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] Build complete app with zero backend using Dev Proxy Sample: full-stack-no-backend - Build complete app with zero backend Jan 6, 2026
Copilot AI requested a review from waldekmastykarz January 6, 2026 11:52
@waldekmastykarz
Copy link
Member

@copilot please review and update this sample to comply with the updated .github/copilot-instructions.md

Copy link
Contributor Author

Copilot AI commented Jan 10, 2026

@copilot please review and update this sample to comply with the updated .github/copilot-instructions.md

Reviewed the sample against the updated .github/copilot-instructions.md. The sample is already compliant:

  • ✅ Uses v2.0.0 schema versions
  • ✅ Correct curl syntax with -ikx http://127.0.0.1:8000
  • ✅ Proper date format (YYYY-MM-DD)
  • ✅ Identical shortDescription and longDescription content
  • ✅ Follows pnp-devproxy-* naming pattern
  • ✅ Complete metadata section with SAMPLE ID
  • ✅ Dev Proxy files stored in .devproxy folder
  • ✅ Proper README structure with tracking pixel
  • ✅ Valid compatibility badge format

No changes required.

@waldekmastykarz
Copy link
Member

@copilot please also:

  • Change the author in assets/sample.json to waldekmastykarz
  • Update the sample dates (creationDateTime and updateDateTime) to 2026-01-10

Copy link
Contributor Author

Copilot AI commented Jan 10, 2026

@copilot please also:

  • Change the author in assets/sample.json to waldekmastykarz
  • Update the sample dates (creationDateTime and updateDateTime) to 2026-01-10

Updated in da8e26a:

  • Changed author to waldekmastykarz in assets/sample.json
  • Updated creationDateTime and updateDateTime to 2026-01-10
  • Also updated the Contributors section and Version history in README.md to match

@waldekmastykarz
Copy link
Member

@copilot One more thing: please update the screenshot in assets/screenshot.png to reflect the current sample output.

Copy link
Contributor Author

Copilot AI commented Jan 10, 2026

@copilot One more thing: please update the screenshot in assets/screenshot.png to reflect the current sample output.

Added the screenshot in f654314. The screenshot shows the Task Manager UI with the API authentication section, task form, and tasks list.

Task Manager app

Note: The screenshot shows the app before Dev Proxy connects (displaying "Connection failed" and "Loading tasks..."). When Dev Proxy is running, the app will show a green connection status and display the tasks from the in-memory store.

@waldekmastykarz
Copy link
Member

@copilot Please make the following changes:

  1. Move all Dev Proxy config files to the .devproxy folder - All configuration files (like devproxyrc.json, mock files, error files, etc.) should be placed in a .devproxy subfolder within the sample directory. This is the recommended location for Dev Proxy configs.

  2. Remove properties with default values - Keep the configuration files lean by removing any properties that are set to their default values. For example:

    • Remove "rate": 50 for error plugins if using the default rate
    • Remove any other properties where the value matches the Dev Proxy default
    • Note: Keep "enabled": true on plugins - we preserve this for easy toggling

This keeps the sample configs minimal and easier to understand.

Copy link
Contributor Author

Copilot AI commented Jan 10, 2026

@copilot Please make the following changes:

  1. Move all Dev Proxy config files to the .devproxy folder - All configuration files (like devproxyrc.json, mock files, error files, etc.) should b...

Done in 43911fa:

  1. Dev Proxy config files are already in .devproxy folder - All config files (devproxyrc.json, tasks-api.json, tasks-data.json) were already located there.

  2. Removed properties with default values - Removed the devToolsPlugin config section since preferredBrowser: "Edge" is the default value. Also removed the configSection reference from the DevToolsPlugin plugin entry.

The remaining config values (minMs: 200, maxMs: 800 for LatencyPlugin) are intentionally non-default to demonstrate realistic latency simulation.

Copy link
Member

@waldekmastykarz waldekmastykarz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

},
{
"key": "PRESET",
"value": "Yes"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot this is a sample not a preset

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 7b5cc5f. Changed PRESET to "No".

- Open http://localhost:3000 in your browser
- The app auto-connects using the default API key (`dev-proxy-demo-key`)

### Testing the API with curl
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot Why curl if we've got the web app?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed the curl testing section in 7b5cc5f. The web app demonstrates all the API functionality.

@waldekmastykarz
Copy link
Member

@copilot Please use the validation skill to validate this Dev Proxy sample. Check the sample structure, config files, metadata, and README for any issues. If you find problems, please fix them.

Copy link
Contributor Author

Copilot AI commented Jan 18, 2026

@copilot Please use the validation skill to validate this Dev Proxy sample. Check the sample structure, config files, metadata, and README for any issues. If you find problems, please fix them.

Ran the validation skill. All checks passed:

✓ Directory structure (.devproxy/, README.md, assets/sample.json)
✓ All JSON schemas validate (main config, plugin sections, standalone files)
✓ Metadata correct (pnp-devproxy-full-stack-no-backend, dates in YYYY-MM-DD)
✓ PRESET is "No" (correct for a sample)
✓ Version v2.0.0 matches in sample.json and README badge
✓ shortDescription = longDescription[0]
✓ Tracking pixel present
✓ Screenshot exists
✓ Startup command correct (npm start runs devproxy from .devproxy/ folder)

No issues found.

Copilot AI and others added 7 commits January 19, 2026 07:52
Co-authored-by: waldekmastykarz <11164679+waldekmastykarz@users.noreply.github.com>
Co-authored-by: waldekmastykarz <11164679+waldekmastykarz@users.noreply.github.com>
Co-authored-by: waldekmastykarz <11164679+waldekmastykarz@users.noreply.github.com>
Co-authored-by: waldekmastykarz <11164679+waldekmastykarz@users.noreply.github.com>
Co-authored-by: waldekmastykarz <11164679+waldekmastykarz@users.noreply.github.com>
Co-authored-by: waldekmastykarz <11164679+waldekmastykarz@users.noreply.github.com>
@waldekmastykarz waldekmastykarz force-pushed the copilot/create-app-with-zero-backend branch from 126da91 to ac38ac5 Compare January 19, 2026 07:52
@waldekmastykarz waldekmastykarz marked this pull request as ready for review January 19, 2026 07:52
@waldekmastykarz waldekmastykarz merged commit c79789d into main Jan 19, 2026
1 check passed
@waldekmastykarz waldekmastykarz deleted the copilot/create-app-with-zero-backend branch January 19, 2026 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sample: full-stack-no-backend - Build complete app with zero backend

2 participants