Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
moodlenet
nodejs-services
Commits
2c8399fb
Commit
2c8399fb
authored
Oct 08, 2020
by
Alessandro Giansanti
Browse files
Update README.md
parent
555fb68d
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
2c8399fb
...
...
@@ -4,21 +4,21 @@
### with yarn
yarn install -D
yarn build
yarn start
yarn install -D
yarn build
yarn start
### with npm
npm install -D
npm run build
npm start
npm install -D
npm run build
npm start
### Start a MongoDB instance
Listening on default port 27017 on host
you may want to use docker for simplicity :
`docker run --name mongo-gql --network host -ti mongo`
Listening on default port 27017 on host
you may want to use docker for simplicity :
`docker run --name mongo-gql --network host -ti mongo`
### populate with some data
...
...
@@ -26,7 +26,9 @@ you may want to use docker for simplicity :
### issue queries
Open this nice
[
online graphql client
](
https://graphiql-online.com/graphiql
)
set endpoint to
`http://localhost:4001/graphql`
and issue a query
Open this nice
[
online graphql client
](
https://graphiql-online.com/graphiql
)
set endpoint to
`http://localhost:4001/graphql`
and issue a query
```
query someQuery {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment