You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 20, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: docs/guides/nodejs/survey-website.mdx
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ updated_at: 2025-05-08
14
14
15
15
# Build a Frontend for Your Nitric Survey App with React
16
16
17
-
In this guide, you’ll build a simple web application using React that connects to the survey backend we created with Nitric.
17
+
In this guide, you'll build a simple web application using React that connects to the survey backend we created with Nitric.
18
18
19
19
## What You'll Build
20
20
@@ -42,7 +42,9 @@ cd ..
42
42
Next, configure your `nitric.yaml` to enable and configure the website:
43
43
44
44
<Note>
45
-
Along with the website configuration, you will need to add the `preview` key to your `nitric.yaml`, as website support is currently a preview feature and subject to change.
45
+
Along with the website configuration, you will need to add the `preview` key
46
+
to your `nitric.yaml`, as website support is currently a preview feature and
47
+
subject to change.
46
48
</Note>
47
49
48
50
```yaml title:nitric.yaml
@@ -149,7 +151,7 @@ const SurveyForm = () => {
149
151
</label>
150
152
151
153
<label>
152
-
Rating (1–5):
154
+
Rating (1-5):
153
155
<input
154
156
type="number"
155
157
name="rating"
@@ -241,6 +243,7 @@ region: us-east-2
241
243
```
242
244
243
245
## Deploy
246
+
244
247
Deploy to AWS using the `nitric up` command. Ensure you have set up your [AWS credentials](/providers/pulumi/aws#usage) correctly.
0 commit comments