UNPKG

generator-sails-rest-api

Version:

Yeoman generator that provides already configured and optimized Sails REST API with bundle of predefined features

24 lines (20 loc) 521 B
"use strict"; /** * Step 8 * Called last, cleanup, say good bye, etc */ const chalk = require('chalk'); const printMessage = require('print-message'); module.exports = function () { printMessage([ `Enjoy your ${chalk.red('Sails REST API')} project!`, `---`, `Next steps:`, `${chalk.yellow('1)')} Create a model in your app:`, chalk.blue('yo sails-rest-api:model Ticket'), `${chalk.yellow('2)')} Compose your API and run:`, chalk.blue('npm start') ], { printFn: this.log }); };