dynobird

0.0.15 • Public • Published

Intorduction [0.0.15]

Dynobird.com is database designer for web developer. So every line of code always think to make web developer easy in work. CLI tools is one of developer needs. We provide it with full support for community.

youtube :

dynobird.com demo video

Install

dynobird cli must install under nodeJS and npm. If you don't have npm and nodeJS follow this tutorial https://nodejs.org/en/download/

dynobird recommend to use nodeJS version 14.04

npm i -g dynobird

Using

dynobird CLI is build on top of nodeJS. NodeJS required to install in Operating system. dynobird CLI required token to access your project. Follow this picture for copy your project token.

dynobird.json

this is configuration for project information and token for generating migration. This file can generate with command dynobird init

{
    "entitiesDir": "model",
    "migrationsDir": "migration",
    "framework": "laravel",
    "frameworkVersion": "8",
    "token": "xxxxxxxxxxxxxxxxxxxxxxxxxxx",
    "db": {
        "type": "MY_SQL",
        "host": "localhost",
        "user": "root",
        "password": "root",
        "database": "laravel",
        "port": 3306
    }
}

init

$ dynobird init is command for initial dynobird.json if empty in project.

Migration strategy

This is command to work with dynobird migrtion. There are two strategy to use this migration tools from dynobird. Strategy :

  • existing project In existing project need to import in first. Use migration:import for import all database dasign and migration version to dynobird. After all is imported work your design in dynobird.com. If need to generate code migration use migration:generate it will generate latest migration to project directory.
  • new project For new project is easy to integrate with it. Just generate with this command migration:generate every need to write migration code.

migration:import

$ dynobird migration:import is command to import migration and database to dynobird. This is command for integrate existing project with dynobird.

migration:generate

$ dynobird migration:generate is command for generate database design to database migration.

youtube : https://www.youtube.com/watch?v=owpAH5PyfLE

database:import

$ dynobird database:import is command for import database design from existing database without import migration.

youtube : https://www.youtube.com/watch?v=qiG_21WRQ6A

Readme

Keywords

none

Package Sidebar

Install

npm i dynobird

Weekly Downloads

0

Version

0.0.15

License

ISC

Unpacked Size

615 kB

Total Files

36

Last publish

Collaborators

  • dynobird