Skip to content

Commit c7aa86f

Browse files
committed
fix(library update) : Stage-Steve "," auto added, rest of file up to date
1 parent 2d9ecf4 commit c7aa86f

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,34 +39,38 @@ Then you will be ready to add a GraphQL API to your express server with only a f
3939
import express from 'express'
4040
const {
4141
generateModelTypes,
42-
generateGraphqlExpressMiddleware
42+
generateGraphqlExpressMiddleware,
4343
} = require('graphql-sequelize-generator')
4444
import models from './models'
4545

4646
const types = generateModelTypes(models)
4747

4848
graphqlSchemaDeclaration.user = {
4949
model: models.user,
50-
actions: ['list', 'create']
50+
actions: ['list', 'create'],
5151
}
5252

5353
const server = generateApolloServer({
5454
graphqlSchemaDeclaration,
5555
types,
56-
models
56+
models,
5757
})
5858

5959
const app = express()
6060
server.start()
6161
server.applyMiddleware({
6262
app,
63-
path: '/graphql'
63+
path: '/graphql',
6464
})
6565
```
6666

67+
<!-- A priori OK mais pas sûr -->
68+
6769
## Getting started with boilerplates
6870

6971
You can easily start a project with graphql-sequelize-generator using these boilerplates:
7072

7173
- In JavaScript : [GSG Boilerplate](https://github.com/teamstarter/gsg-boilerplate)
7274
- In TypeScript : [GSG Typescript Boilerplate](https://github.com/teamstarter/gsg-boilerplate-typescript)
75+
76+
<!-- OK -->

0 commit comments

Comments
 (0)