Using Cillers Coder To Develop Your Cillers System

The recommended workflow is to focus on one module of your Cillers Stack at a time, such as the web app or API. Navigate to the module's code directory (e.g., code/api-python-graphql) and use the cillers implement command, providing your instructions via the .cillers/coder/instructions file.

Module-specific policies and facts reside in the .cillers/coder/policies and .cillers/coder/facts directories within each module. For policies and facts that span across modules, place them in the corresponding directories at the project root. Restrictions are specified per module in the .cillers/coder/restrictions file.

Try the following instructions in the code/api-python-graphqlmodule:

Change the hello resolver. Append a '1' to the returned message.
Add a hello2 resolver. It should respond with the same message as the hello
resolver but with a '2' at the end.
Add a hello3 resolver in a new file 'hello3.py'. It should respond with the 
same message as the hello resolver but with a '3' at the end.
Change the hello3 resolver. Make it create a document in the Couchbase
items collection. Add a parameter 'name' to the resolver and use
this as the name value for the item. 

You can try the changes using the GraphQL API client.

Last updated