Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 7afef12

Browse files
Apply suggestions from code review
Co-authored-by: Ryan Cartwright <[email protected]>
1 parent c6e193a commit 7afef12

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

src/pages/index.mdx

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ export const disableEditGithub = true
1111
description="Build cloud backends that run anywhere, fast."
1212
/>
1313

14-
Nitric is a cloud framework with common resources like APIs, webhooks, databases, queues, topics, buckets, and more.
14+
Nitric is a cloud framework with common resources like APIs, websockets, databases, queues, topics, buckets, and more.
1515

16-
However, Nitric is unique - it doesn't just deploy the resources, it helps you interact with them. It also makes them plugable, so you can swap services or even whole clouds without changing your code.
16+
However, Nitric is unique - it doesn't just deploy the resources, it helps you interact with them. It also makes them pluggable, so you can swap services or even whole clouds without changing your code.
1717

1818
It's what's missing between applications and infrastructure automation.
1919

2020
Oh, and it supports basically any language, like JavaScript, TypeScript, Python, Go, you name it.
2121

2222
## Services
2323

24-
Services are the heart of nitric apps, they're the entrypoints to your code. They can serve as APIs, webhooks, schedule handlers, subscribers and a lot more. You create services by telling Nitric where to look for your code and how to run it.
24+
Services are the heart of Nitric apps, they're the entrypoints to your code. They can serve as APIs, websockets, schedule handlers, subscribers and a lot more. You create services by telling Nitric where to look for your code and how to run it.
2525

2626
```yaml {{ label:"nitric.yaml" }}
2727
name: example
@@ -72,11 +72,13 @@ func main() {
7272
```dart {{ label:"services/example.dart" }}
7373
import 'package:nitric_sdk/nitric.dart';
7474
75-
final profiles = Nitric.bucket("profiles").allow([
76-
BucketPermission.read,
77-
BucketPermission.write,
78-
BucketPermission.delete,
79-
]);
75+
void main() {
76+
final profiles = Nitric.bucket("profiles").allow([
77+
BucketPermission.read,
78+
BucketPermission.write,
79+
BucketPermission.delete,
80+
]);
81+
}
8082
```
8183

8284
</CodeGroup>
@@ -91,7 +93,7 @@ Nitric collects everything your services request. When you deploy, the deploymen
9193

9294
Nitric is designed to be independent of any platform, so you can run your apps anywhere. You can deploy to AWS, Azure, GCP, or even your own Kubernetes cluster. You can even deploy to multiple clouds at once.
9395

94-
Seriously, is there really a difference between a bucket on AWS and a bucket on Azure? We doesn't think so. So why is the code different?
96+
Seriously, is there really a difference between a bucket on AWS and a bucket on Azure? We don't think so. So why should the code be different?
9597

9698
Nitric abstracts away the differences, so you can focus on your app. The part that makes that possible is a plugin, we call a **Provider**.
9799

0 commit comments

Comments
 (0)