Skip to content

Commit

Permalink
first working draft
Browse files Browse the repository at this point in the history
  • Loading branch information
LunaticMuch committed Apr 16, 2023
1 parent e1a7b12 commit 8c33f83
Show file tree
Hide file tree
Showing 17 changed files with 8,035 additions and 5,453 deletions.
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,20 @@
# TO BE WRITTEN
# Plugin for generating schema documentation in Next.JS

## Run the example

1. Clone the repo as usual
2. Run the following to install dependencies

```bash
npm ci && npm ci --prefix ./example
```

3. Build the plugin and start the server

```bash
npm run start:example
```

Now the example server will be available on http://localhost:3000

The schema is available in `schema/schema.graphql`. You can add types and fields, but always add a description as right now it does not catch a missing description and throws an error.
Loading

0 comments on commit 8c33f83

Please sign in to comment.