Skip to content

Commit

Permalink
docs: Update example
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mdy-m committed Sep 15, 2024
1 parent f41af78 commit ef71b1e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@ To get started with Gland, you can follow these simple steps:

3. Define your routes and handlers in a configuration file (`.confmodule`):

Create a `.confmodule` file with the following content:

```
path=router
```

4. Create Router:(/router/example.ts)

```typescript
import { Context, Get, Route } from '@medishn/gland';
Expand All @@ -50,7 +58,7 @@ Gland uses the internal logger package, [@medishn/gland-logger](https://github.c
import gland from '@medishn/gland';
const g = new gland();
const logger = g.logger;
const logger = new g.logger();
```
## What is Qiu?
Expand Down

0 comments on commit ef71b1e

Please sign in to comment.