1.0.5 • Published 1 year ago

cocina v1.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Cocina

Cocina is currently in development. Use at your own risk.

Cocina is a CLI tool for scaffolding backend web APIs in Node.js. The CLI is inspired by projects like create-react-app and the Rails generator. Cocina creates a new web application based on a template that uses popular Node.js libraries like Koa, Mongoose and Jest. It also has commands for building new files like controllers, models and tests.

Installation

npm install -g cocina

Commands

cocina cook <path>

Generates a new application at the path specified. The path directory must not already exist.

cocina controller <name>

Run this this command inside an app generated by Cocina. It will create a new controller with the name specified.

cocina model <name>

The model command creates a new file in the models folder with the name provided. Models are based on Mongoose and can be populated with field data after creation. Example: cocina model Task.

1.0.0

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.3

1 year ago

0.0.1-alpha.5

7 years ago

0.0.1-alpha.4

7 years ago

0.0.1-alpha.3

7 years ago

0.0.1-alpha.2

7 years ago

0.0.1-alpha.1

7 years ago

0.0.1-beta.1

7 years ago