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.
description="Build cloud backends that run anywhere, fast."
12
12
/>
13
13
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.
15
15
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.
17
17
18
18
It's what's missing between applications and infrastructure automation.
19
19
20
20
Oh, and it supports basically any language, like JavaScript, TypeScript, Python, Go, you name it.
21
21
22
22
## Services
23
23
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.
25
25
26
26
```yaml {{ label:"nitric.yaml" }}
27
27
name: example
@@ -72,11 +72,13 @@ func main() {
72
72
```dart {{ label:"services/example.dart" }}
73
73
import 'package:nitric_sdk/nitric.dart';
74
74
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
+
}
80
82
```
81
83
82
84
</CodeGroup>
@@ -91,7 +93,7 @@ Nitric collects everything your services request. When you deploy, the deploymen
91
93
92
94
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.
93
95
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?
95
97
96
98
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**.
0 commit comments