Skip to content

Commit 89fabb6

Browse files
authored
Merge pull request #259 from tomyitav/change-name
Change name
2 parents b39a28a + 4df26d0 commit 89fabb6

File tree

5 files changed

+1865
-2653
lines changed

5 files changed

+1865
-2653
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# generate-graphql-app
1+
# create-graphql-app
22

33
[![Build Status](https://travis-ci.org/tomyitav/generate-graphql-app.svg?branch=master)](https://travis-ci.org/tomyitav/generate-graphql-app)
44
[![Coverage Status](https://coveralls.io/repos/github/tomyitav/generate-graphql-app/badge.svg?branch=master)](https://coveralls.io/github/tomyitav/generate-graphql-app?branch=master)
@@ -23,15 +23,15 @@ Cli tool for bootstrapping production grade GraphQL server, using:
2323

2424
Please make sure you have Node.js version 8+, and type
2525

26-
```npm install -g generate-graphql-app```
26+
```npm install -g create-graphql-app```
2727

2828
## CLI commands
2929

3030
### Init server command
3131

3232
Open shell in the desired folder for bootstrapping the server, and typed:
3333

34-
```gga init <project-name>```
34+
```cga init <project-name>```
3535

3636
The command will prompt available server seeds options. Choose the boilerplate project
3737
you want, and start coding!
@@ -47,7 +47,7 @@ Our recommended way for schema design is to create a type file for certain entit
4747
Eventually, all entities schemas are merged.
4848
To generate a matching resolver file for type file, execute the command:
4949

50-
```gga r <type-file> <resolver file>```
50+
```cga r <type-file> <resolver file>```
5151

5252
This will create a matching file, with all Query, Mutation and Subscription
5353
definitions.
@@ -58,7 +58,7 @@ Our server resolvers should operate as a thin layer, or controller, that links b
5858
and the server business logic. We use *services* for our model, to perform logic such as api fetching,
5959
db operations, etc. In order to create a new service, run the command:
6060

61-
```gga s <service-path> [--ignoreContext]```
61+
```cga s <service-path> [--ignoreContext]```
6262

6363
This will create a new service file to services directory. Also, it will register the service on the
6464
server *injector* file, and will add its definition to the context object, thus allowing its usage
@@ -69,7 +69,7 @@ You can exclude context file additions by passing the *ignoreContext* flag.
6969

7070
Inside the project directory, type:
7171

72-
```gga d```
72+
```cga d```
7373

7474
This will run the server *deploy* script, and will move the server to production! :rocket:
7575

0 commit comments

Comments
 (0)