Conventions used
There are a number of text conventions used throughout this book.
Code in text
: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "The except
parameter is basically the opposite of the only
parameter."
A block of code is set as follows:
async findTutorials(ctx) { ctx.response.status = 501; return "to be implemented"; }
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
async find(ctx) { // Calling the default core action const { data, meta } = await super.find(ctx); meta.totalTutorials = data.length + 100; return { data, meta }; },
Any command-line input or output is written as follows:
docker push REPO_URL_HERE:latest
Bold: Indicates a new term, an important word, or words that you see onscreen. For instance, words in menus or dialog boxes appear in bold. Here is an example: "Since we are going to run a Fargate cluster, choose Networking Only from the cluster template and then click the Next step button."
Tips or Important Notes
Appear like this.