This repository was archived by the owner on May 20, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 17
refresh documentation #693
Merged
Merged
Changes from 3 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
265ca73
wip ensure up to date guides and docs
HomelessDinosaur 5c2ba76
swap from labels to titles for code examples
HomelessDinosaur bd0d328
spellcheck
HomelessDinosaur 202a7c3
Update docs/guides/nodejs/byo-database.mdx
HomelessDinosaur 57f9c07
Apply suggestions from code review
HomelessDinosaur 280cdc1
add bash to code example
HomelessDinosaur 0faeaa7
update guides
HomelessDinosaur f73be2d
update fastify
davemooreuws f68c967
nestjs fixes
davemooreuws File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -78,7 +78,7 @@ code word_generator | |
|
||
Let's start by building out the backend. This will be an API with a route dedicated to getting a list of all the favorites and a route to toggle a favorite on or off. These favorites will be stored in a [key value store](/keyvalue). To create a Nitric project add the `nitric.yaml` to the Flutter template project. | ||
|
||
```yaml {{ label: "nitric.yaml" }} | ||
```yaml title:nitric.yaml | ||
name: word_generator | ||
services: | ||
- match: lib/services/*.dart | ||
|
@@ -1414,7 +1414,7 @@ nitric stack new dev aws | |
|
||
You'll then need to edit the `nitric.dev.yaml` file to add a region. | ||
|
||
```yaml {{ label: "nitric.dev.yaml" }} | ||
```yaml title:nitric.dev.yaml | ||
provider: nitric/[email protected] | ||
region: us-east-1 | ||
``` | ||
|
@@ -1428,7 +1428,7 @@ Because we've mixed Flutter and Dart dependencies, we need to use a [custom cont | |
Flutter application, this step is unnecessary. | ||
</Note> | ||
|
||
```yaml {{ label: "nitric.yaml" }} | ||
```yaml title:nitric.yaml | ||
name: word_generator | ||
services: | ||
- match: lib/services/*.dart | ||
|
@@ -1442,7 +1442,7 @@ runtimes: | |
|
||
Create the Dockerfile at the same path as your runtime specifies. This Dockerfile is fairly straightforward, taking its | ||
|
||
```dockerfile {{ label: "docker/flutter.dockerfile" }} | ||
```dockerfile title:docker/flutter.dockerfile | ||
FROM dart:stable AS build | ||
|
||
# The Nitric CLI will provide the HANDLER arg with the location of our service | ||
|
@@ -1487,7 +1487,7 @@ ENTRYPOINT ["/app/bin/main"] | |
|
||
We can also add a `.dockerignore` to optimize our image further: | ||
|
||
```txt {{ label: "docker/flutter.dockerignore" }} | ||
```txt title:docker/flutter.dockerignore | ||
build | ||
test | ||
|
||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.