Code Monkey home page Code Monkey logo

fluidbm-cli's Introduction

👨‍💻⚡ Fluidbm CLI

A simple CLI to convert your Laravel designs (from Fluidbm) into actual code. It generates production-ready Models, Migrations, Factories, Database seeders.

Fluidbm provides a free interface to design Laravel models in a modern way: dead fast and simple.

🎉 Getting started

To get started, you need to design a schema on Fluidbm here

Execute directly

$ npx fluidbm

Install via yarn

$ yarn global add fluidbm-cli

or

$ npm install -g fluidbm-cli

ℹ️ Usage

Authentication

In order to interact with CLI, authentication is required:

$ fluidbm auth

  • Proceed to your Fluidbm Account Settings
  • Press on Re-generate token to get a new fresh cli token
  • Paste the token in the terminal
  • You're now authenticated ✅

Exporting to a Laravel project

To add your Fluidbm design to your existing Laravel project, similar to git, you have to copy it using the clone command

$ fluidbm clone [FLUIDBM_PROJECT_URL] or [FLUIDBM_PROJECT_ID]

Once successfully cloned, the pull command can be used at any time to sync the changes done on the design.

$ fluidbm pull

It automatically generate the Models, Factories, Seeds and Migrations and add it at the exact place in your existing Laravel project. No need to copy paste files manually....

Sync design changes

$ fluidbm pull

⚖️ Terms & Conditions

By using Fluidbm CLI, you agree to the terms & conditions, and our privacy policy. Please avoid sending too many requests to maintain higher availability. The CLI interacts with Fluidbm API, that might collect and store your IP for security reasons.

❤️ Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

⚖️ License

This project is licensed under the MIT license

© 2022 Franz Nkemaka

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.