Giter Club home page Giter Club logo

entity-builder's People

Contributors

googee avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

entity-builder's Issues

Really good tool, however unable to connect to database

Trying to pull my hair through to understand how to database connection works. I am trying on both localhost as well as remote site. So my MySQL is running on 3306 and the Entity builder is asking me to enter the url information to connect. When I enter http://localhost it says network error or if I give with port information it gives me 404. What is the connection string. From the code it looks like its expecting JSON output from the connection. How will mysql will provide json output unless you use JDBC:mysql driver like connection string. Any help will be highly appreciated. Once again, great work with this tool.

Can you please explain the purpose?

Hello,

from looking at it, i can see this has lot of potential, but i am really not able to understand it properly.

can you please tell me what is the main purpose of it?

after downloading, i see that it is generating models and migration files,
is there anyway, generating views(blade files) aswell?

thanks,

How do I actually use this inside my project to generate migrations?

I know I'm late to the party, but @GooGee , I think you've done some great work here. Congrats! I've been looking to build a good GUI to generate migrations for years! But never gotten to it.

As opposed to others here, I do see a use case for it. When starting small/medium projects, I would actually prefer to have a GUI to define my database schema, rather than use Laracasts/Generators (what I do now), or manually write the migrations. I think it will be faster and more enjoyable - I often forget what migration columnType corresponds to which MySQL/PostgreSQL columnType. So I have to jump between the Laravel docs and the migration. Granted, this is a minor inconvenience, but it is something that causes frustration, and can be optimized. I bet many people feel the same.

I think it would also be helpful for Backpack for Laravel developers - currently we recommend people install Laracasts/Generators, which is the simple way to go about it, but... it doesn't generate relationships in Models, it doesn't generate Seeds, etc.

That being said, I'd love to use your package on a regular basis, or even recommend thousands of Backpack users install it, but I think there's one thing that's dragging it down: the documentation. People nowadays have a very short attention span. And I should know - I'm one of them :-) I've tried for 10-15 minutes to wrap my head around the package, and understand how I can install and use it in my project, but I was unable to do so. So I quit.

I think you need a few more paragraphs inside your README files, to help guide the user towards using the package in their project. To lead them towards the first moment the pacakage is useful to them. Some people call this an "AHA" moment - and they say you need to take the user to that AHA moment ASAP - if you don't they'll quit. That's exactly what happened to me.

Here's my user journey, I hope it will help you write a few more paragraphs to detail what the user should do, to get to that first moment that the software proves useful to them:

  • I wanted to install the package in my project, and generate a migration;
  • I browsed the original Github README, but it said I should install it with NPM; I said no, I'm looking for the PHP version;
  • I found the PHP project, which is installable with Composer; I said "yay";
  • I installed the PHP project, but there's no docs on how to use it;
  • I browsed the source code, and found 4 routes;
  • I accessed all the routes there, but I only got some JSON in return;
  • I went to the original repo and it said I can use the online version; so I tried that one;
  • I created a new project in the online version, but it looked like I couldn't choose custom column names - so I though it was just an online demo, not something I can use for my project, to then download the PHP files;
  • then I quit;
  • then I spend way too many minutes writing this post, to maybe help you :-)

It's entirely possible that I misread your docs. Or missed something in them. Of course. But again - this was my user journey. And it's possible if I misread something, others will too.

Again, I would love a GUI for generating migrations. And I think you're on the right track. From the number of features alone it looks like you've worked on this A LOT, so I really appreciate it. But from developing public Github projects myself, and actually trying to use your software, my opinion is that - if you plan to work on this some more - your priority #1 should be better docs.

Just my 2 cents. I hope you take this the right way, I'm just trying to help. Let me know if you write a clear process on how I can use it to generate migrations - I'd love to take a second look.

Cheers!

How to setup Entity-Builder on a local server???

Hi George,

I have been trying to setup Entity-Builder locally as per on your instructions:

Here is what I did so far using Laravel 5, 6 and 7 but no luck:

  1. Created a fresh new Laravel 5 project composer create-project --prefer-dist laravel/laravel:5.5 entity-builder (I tried with Laravel 6 and 7 as well but same result).
  2. Download the dist.zip
  3. Unzip it to the public folder of your Laravel project. e.g "entity-builder/public/" to look like this "entity-builder/public/dist/"
  4. Visit http://localhost/dist/index.html - for me it's http://entity-builder.test/dist/index.html
  5. Install the PHP package using composer require googee/entity --dev
  6. Click 'Connect' button

Everything works till Step 4 but on Step 5. Click 'Connect'. I get a pop window with a prompt
Please enter the server url: http://entity-builder.test/ but when i enter i get this error msg:
"Version does not match! PHP package version: undefined Required version: 2.1"

What am i missing here??? Which latest Laravel version does Entity-Builder supports? I know I have millions of question... but would love to know more about the project and would like to use it.

Looking forward to hearing from you soon!

Thanks! 🙏🙏🙏

这是我见过最好的国产Laravel插件了!

首先感谢群主贡献这样好的插件!

最早玩过一段时间!

我还添加过字段类型,Larvel已经支持枚举类型了,但是咱们就是没有!我看可以自定义类型了,觉得挺好,而且还能定义规则,都是很大的进步!

给您提个意见吧!

1、有了模型,不管是普通模型,还是API,都可以生成路由啊,路由也可以自动生成啊! 希望下一个版本完善。

2、完善资源和资源类! 我们没有这个功能! 写API的时候 ,资源和资源类是常用的东西!这个没有是不是不好啊!

希望您在下一个版本中完善!

Foreign keys in migration

Hello,

great work! Really like it.
Is it possible to add foreign keys to the migration like user_id.

Not Working phpstorm 2022.3.1

404 error not found
it add to the address ?ide=idea

when try to work from outside the ide it work but can not save anything error window.JavaBridge is undefined. only available in JetBrains IDE.

bug found

Cannot find module 'axios' or its corresponding type declarations.ts(2307)

0 information

Hi there.
So first of all i am unable to connect to database. Whenever i click connect i get a popup asking for server. I input http://localhost or http://localhost/dist or http://localhost/dist/index.html and get "Request failed with status code 404"
I did everythinmg correctly: Downloaded and extracted dist, installed package and did EVERYTHING you described.
Second problem is that when i create project and click download, i get a json file, not an archive. What am i supposed to do with it?
You have spent so much time creating this project and absolutely 0 second of explaining how to get it running. Make a full video of installation and usage. You will get much more love.

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.