Skip to content

Commit b6b28d7

Browse files
Update README.md
1 parent 803baf9 commit b6b28d7

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

README.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,23 @@ TutorCruncher Socket frontend
66

77
Javascript application for [TutorCruncher's](https://tutorcruncher.com) web integration.
88

9-
**work in progress, not ready for use in the wild**
9+
**Work in progress, not ready for use in the wild**
10+
11+
Some notes on how it will work:
12+
13+
You'll be able to embed the javascript in your own page, so your own CSS and other styling applies.
14+
15+
Defaults to use the TutorCruncher Socket backend, but you can use your own if you like.
16+
17+
Alternatively, you can just use TutorCruncher's API (documentation incoming) and build your own frontend. Feel free to fork this repo for help:smile:.
18+
19+
Parameters:
20+
21+
| Name | Description |
22+
|------|-------------|
23+
| `api_root` | TutorCruncher Socket Backend |
24+
| `element` | The id of the element created |
25+
| `router_mode` | The routing mode when clicking on a tutor's profile. |
26+
| `contact_html` | Text displayed as the `<a href={contact_link}>`'Click here to contact X tutor'`<\a>` |
27+
| `contact_link` | The link included in the above text |
28+
| `skills_label` | The label for a tutor's skills |

0 commit comments

Comments
 (0)