Skip to content

Commit

Permalink
Merge pull request #10 from qualified/embed-react
Browse files Browse the repository at this point in the history
Add Embed React demo
  • Loading branch information
ggorlen committed May 7, 2024
2 parents 5e20ca6 + 5f6e19a commit c55d16b
Show file tree
Hide file tree
Showing 13 changed files with 12,221 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,6 @@ Embed supports challenges that offer testable written response fields using mark

### [Server Validation](server-validation)
This demonstration illustrates how to run Embed on the server programmatically with the browser automation library [Playwright](https://playwright.dev/). This allows you to securely run your candidate's code, validate solutions and persist the results on your server without using Qualified to manage assessments or assessment results.

### [React](react)
This demo provides a basic starter for using Embed with React and Webpack. It should provide a good starting point for using Embed in a Node-based build.
2 changes: 2 additions & 0 deletions react/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
dist
10 changes: 10 additions & 0 deletions react/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Qualified Embed and React

This demo provides a basic starter for using Embed via [npm](https://www.npmjs.com/package/@qualified/embed) with React and Webpack. The setup can be adapted to other Node builds and libraries such as Vite, Parcel, Vue and Angular.

## Usage

```
npm i
npm start
```

0 comments on commit c55d16b

Please sign in to comment.