brew tap code-store-platform/brew && brew install codestore
This installation method is not recommended as it does not auto-update.
npm install -g codestore
These are available in gzip compression:
PalmOS (just kidding)
To verify that the CLI has been correctly installed, use the
codestore --version command:
You should see "codestore x.y.z darwin-X node-vX.Y.Z" output.
The code.store CLI will keep itself up to date automatically, unless you installed it via
npm install. In that case use
npm update codestore in order to upgrade the package to the latest version.
For each service, the code.store CLI is generating a directory structure that resembles the following:
# Example of the directory structure of a Service./├── src/│ ├── data/ # contains generated TypeORM entities│ ├── resolvers/│ │ ├── mutations/│ │ └── mutationExample.js|ts│ │ ├── queries/│ │ └── queryExample.js|ts│ └── schema.graphql # GraphQL definition of your service's API├── .build # temporary directory├── package.json # standard NPM configuration file└── codestore.yaml # main configuration file
Read more about the anatomy of the service directory here.