Skip to content

Commit 6d91c43

Browse files
authored
proofread what-is-kita.md (#37)
1 parent e0f4ea0 commit 6d91c43

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

what-is-kita.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Kita (`/ˈkitə/`) is a [meta](https://en.wikipedia.org/wiki/Metaprogramming)
44
router for Fastify.
55

6-
::: tip Just want to try it by yourself?
6+
::: tip Just want to try it yourself?
77

88
Skip to the [Quickstart](./quickstart) or head over to our
99
[Migration Guide](./recipes/migration.md) to migrate your existing project to
@@ -12,7 +12,7 @@ Kita.
1212
:::
1313

1414
Kita is a tool that analyzes your TypeScript source code for functions named
15-
after an HTTP method (`get`, `post`, ...) within the `src/routes` folder and
15+
after an HTTP method (`get`, `post`, etc.) within the `src/routes` folder and
1616
automatically generates all the necessary configurations to register your routes
1717
in Fastify.
1818

@@ -23,20 +23,20 @@ and output data**.
2323
## Why use Kita?
2424

2525
Kita was created to facilitate the creation of APIs in TypeScript, allowing you
26-
to focus on what really matters: **the code**. With Kita, you don't worry about
27-
input validation, output, documentation, routing, and so on.
26+
to focus on what really matters: **the code**. With Kita, you don't have to
27+
worry about input validation, output, documentation, routing, and so on.
2828

2929
Its philosophy is as follows:
3030

3131
> **Define once, use everywhere.**
3232
3333
---
3434

35-
Normally you define an interface for the body of your endpoint, then define a
35+
Normally, you define an interface for the body of your endpoint, then define a
3636
schema to validate it, then write documentation about the route, and then
37-
register the body parse in the route. Repeat the above for `Query`, `Body`,
38-
`Params`, `Headers`, `Response`, and `Plugins` and **before you know it you have
39-
10 different files for just a single HTTP endpoint.**
37+
register the body parser in the route. Repeat the above for `Query`, `Body`,
38+
`Params`, `Headers`, `Response`, and `Plugins`, and **before you know it, you
39+
have 10 different files for just a single HTTP endpoint.**
4040

4141
With Kita, you do all this with **just** one exported function for each
4242
endpoint.
@@ -81,5 +81,5 @@ OpenAPI documentation:
8181
By using code generators for the client _(like [Orval.dev](https://orval.dev/)
8282
or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/))_, when making a
8383
simple design change in the API, you can regenerate the client and ensure that
84-
the frontend is always in sync with the backend, **showing all the lines of code
85-
that need to be changed**.
84+
the frontend is always in sync with the backend, **highlighting all the lines of
85+
code that need to be changed**.

0 commit comments

Comments
 (0)