Coder Social home page Coder Social logo

uasoft-indonesia / badaso Goto Github PK

View Code? Open in Web Editor NEW
1.2K 20.0 224.0 5.79 MB

Laravel Vue headless CMS / admin panel / dashboard / builder / API CRUD generator, anything !

Home Page: https://badaso.uatech.co.id

License: MIT License

PHP 44.14% JavaScript 8.41% Vue 42.92% SCSS 3.73% Blade 0.80% Shell 0.01%
laravel rest dashboard cms headless api php crud generator spa

badaso's Introduction

Badaso logo

The API & platform builder, build your apps 10x faster, even more.

It's open source & 100% free !

Try live demo


Badaso Eslint test Badaso PHP Unit test Badaso PHP Stan test Badaso StyleCI Total Downloads Latest Stable Version


screencapture-badaso-dashboard-uatech-co-id-dashboard-crud-2021-03-17-09-57-08-1

Why badaso ?

  • 100% FREE - No need for extra thinking about finance to adopt badaso
  • Modern PWA Dashboard - Fast and SPA based on Vue.js with PWA technology
  • Native installation - Lazy to open the browser? Install badaso on Windows, Linux, MacOS, Android & iOS
  • Working offline - No more f*cked with a bad internet connection, badaso can running offline
  • Headless - Badaso use JWT authentication & authorization as default
  • Seamless integration - Badaso use Rest API & GraphQL, no need to develop API for your mobile & IoT
  • Modern design - Keep your system design amazing and up to date
  • Secure - Build based on laravel make it secure as laravel
  • Modular - Install custom library in seconds like your other laravel projects
  • Scalable - Like your other laravel projects
  • Easy maintenance - Like your other laravel projects
  • Long time support - Great choice for your long-term project, maintain by uasoft

Badaso features

  • Advanced CRUD generator - Build your application faster and be more productive
  • API generator - Integrate your application (mobile, desktop, even IoT) through Rest API & GraphQL
  • User management - Manage your application user
  • Role management - Your application user can have a different role
  • Permission management - Each role has different access permission
  • Menu management - Manage your application menu so easy and faster
  • Database management - Handle your database migration via application
  • Activity logging - Keep your system safe, know who makes the trouble
  • Log UI viewer - No need to open your server to check the log, just stay focused on your application
  • Daily database backup - Keep your valuable database safety
  • Media manager - Manage your local & cloud media via application
  • Many more!

Live demo

Click here for live demo (some error may happen because random test by a lot of random people)

The live demo will reset every 1 hour

Getting started (installation, how to use & more)

You can see official badaso documentation.

Support Badaso

Badaso - The API & platform builder, build app 10x faster for free ! | Product Hunt

To keep badaso up to date and support this awesome long-term project you also can donate to badaso.

We appreciate it so much and will keep badaso up to update and support your awesome long-term projects!

Good financial support will make badaso keep up to date and keep support your awesome long-term projects!

Thanks to all backers & sponsors!

Sponsors

Exclusive Sponsor

Contributing

Thank you for considering contributing to badaso !

Please read our contributing guideline before submitting a Pull Request to the project.

Thanks to all contributors!

For documentation repo contributing click here.

Community support

For general help using badaso, please refer to the official badaso documentation.

For additional help, you can use one of these channels to ask a question:

Credits

Thanks to these awesome projects that make badaso awesome :

All financial support that badaso gets will also shared to project above to support the ecosystem and make badaso keep up to date and keep your awesome long-term projects running.

License

See the LICENSE file for licensing information.

badaso's People

Contributors

4fdal avatar aqidd avatar dannyatthaya avatar dependabot[bot] avatar miftahurrahmi avatar mrrafiq avatar muhammadbobbi avatar muhammadbobi avatar rahmatalmubarak avatar rizkiheryandi avatar stylecibot avatar sulfanoaf 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar

badaso's Issues

Add foreign key feature on database management

Is your feature request related to a problem? Please describe.
User can't add foreign key (cascade, restrict, etc) direct on database management

Describe the solution you'd like
User can add foreign key (cascade, restrict, etc)

Set permission to generated swagger file

Is your feature request related to a problem? Please describe.
Error on swagger feature because permission denied (755)

Describe the solution you'd like
Set permission to 775 while swagger generated
ref :

Describe alternatives you've considered
If it doesn't works, next we can use ACL mode
ref :

mediaBaseUrl meta concept doesn't work while user use insert image by url

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Upload image insert by url
  2. image will return 404

Expected behavior

{ 
  data: [
    {
      img: "https://badaso.com/img.png" (full image link")
    }
  }
}

Additional context
Backend need full handle about url image on API, so frontend doesn't need to adjustment which image using own storage or external URL

So "meta" on API will be remove

Some technical options to be implement for full handling file/image url on API (we will discuss which is more faster and dynamic) :

  1. Add "_file" prefix on table field name to identified it's a image (on database manager feature, user need to check options "is_file" to add the prefix automatically, or user can add it manually) *some problem if developer create migration manually, them will doesn't know about this requirement
  2. Check if the last letter of string contains image extension (.jpg .png or any image extension) *more simple and less human error

Some technical options to be implement to handing insert image by url feature :

  1. backend need check if first letter of string contain "https://" or "http://"

Not Stable, file not found etc

some time after refresh or logout from another tab will appear this view, then after refresh again normal again
image
image

Desktop
OS: Win10 20H2
Wamp: Laragon 5.0.0 21053 (php 7.4.19)
npm: 6.14.8
node: 14.15.1
laravel: 8.0(fresh install)

Using original 3rd library .env key instead of rename it

Describe the bug
On badaso v1.x , it's rename l5-swagger .env key (BADASO_SWAGGER_GENERATE_ALWAYS)

'generate_always' => env('BADASO_SWAGGER_GENERATE_ALWAYS', true),

But on v2.x use original one from the library (L5_SWAGGER_GENERATE_ALWAYS)

'generate_always' => env('L5_SWAGGER_GENERATE_ALWAYS', false),

Problems
So on v2.x it should there's no effect while key value on .env changes

Solutions
Use the original 3rd library .env key on v1.x

Widget dynamic bar and icon props

Is your feature request related to a problem? Please describe.
Existing widget bar doesn't dynamic

Describe the solution you'd like

  1. Dynamic widget bar data
  2. Add icon props

Bug update image

after upload/ just select image in filemanager always not found
image
image
image
image

Desktop
OS: Win10 20H2
Wamp: Laragon 5.0.0 21053 (php 7.4.19)
npm: 6.14.8
node: 14.15.1
laravel: 8.0(fresh install)

badaso's password reset & users table

Is your feature request related to a problem? Please describe.
Badaso still dependent on laravel password_reset and users table. It will open a new chance to break the badaso if the user delete those migrations.

Describe the solution you'd like
Add badaso independent users and password_reset table instead of using laravel users and password_reset table

Enhancement on badaso core configuration

Is your feature request related to a problem? Please describe.
Unused configurations & inconsistent with current badaso version.

Describe the solution you'd like
Remove landing page on site management menu. Rename Site Management to Configuration. Rename the Configuration parent name to Core

Remove chmod

Describe the bug
Remove chmod to avoid error on UNIX system.

File manager dialog / modal

Is your feature request related to a problem? Please describe.
No, in order to manage file more easily and consistent, Badaso need to develop a feature that manage the directory more elegant.

Describe the solution you'd like
When the user wants to upload an image, a dialog appears containing the directory type (private and shared). But, all user can see what is those pictures are in public (accessing via URL).

Describe alternatives you've considered
None.

Additional context
For example: blogger upload image, wordpress upload image, or tinymce file manager.

Steps

  1. Develop a component that shown a popup.
  2. Popup items consist of Private Folder and Shared Folder.
  3. Implement private and shared logic in the component.
  4. Implement the component on badaso, badaso-blog-module and badaso-content-module

[ Error Badaso Setup ] - Couldn't find constant L5_SWAGGER_CONST_HOST,

Describe the bug
I just fresh installed Laravel version v8.48.0 with laravel new app-name

Then run

  • composer require uasoft-indonesia/badaso
  • php artisan badaso:setup

Screenshots
If applicable, add screenshots to help explain your problem.
image

Desktop (please complete the following information):

  • OS: MacOS Big Sur
  • Teminal : iterm2
  • Composer Version : 2
  • Laravel Version : 8.48
  • Badaso Version : 2.0.0-rc.5

[Badaso v1] bug report

Describe the bug
Bedaso v1

  • Database management error
  • Crud generate error
  • Menu Item Not Show

Error "yarn dev" on rename version

Describe the bug
Error :

Module not found: Error: Can't resolve '{project-path}/vendor/uasoft-indonesia/badaso/src/resources/js/app.js' in '{project-path}'

While doing "yarn dev" on rename version "badaso/core"

To Reproduce

  1. Install "badaso/core:dev-main"
  2. Run "yarn dev"

User prefix "badaso_" as default on migration

Is your feature request related to a problem? Please describe.
Need uniq name for avoid conflict existing table and avoid confusing which badaso tables among many existing table.

Describe the solution you'd like
give "badaso_"prefix as default, but also can configure on badaso config if don't wanna use prefix

Remove "license key"

Is your feature request related to a problem? Please describe.
Need more flexiblity and help developer more easy to adopt wihout hard thinking.

Describe the solution you'd like
Remove license key

Can't access media assets

You need to install laravel 8 as a new one with new badaso too. I guess that you upgrade badaso version from previous version. In badaso current version, user default avatar value is files/shares/default-user.png.

Originally posted by @dannyatthaya in #209 (comment)

Installation error @OA/PathItem

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
IMG_20210621_222532_623.jpg

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Change to replace concept on core-concept seeder

Is your feature request related to a problem? Please describe.
Sometime we don't relize our data change succesfully or not after seeding, so we sometime found same bug everytime.

Describe the solution you'd like
Code is the truth, so seeder would delete all data and insert the new one.

Can't change dashboard logo while using FILESYSTEM S3

Describe the bug
Can't change dashboard logo while using FILESYSTEM S3

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'site management'
  2. Click on 'logo'
  3. Change logo
  4. Logo doesn't change

Expected behavior
Logo change as expected

Screenshots

Additional context

  • Happened on badaso 1.0.0-alpha.38

Seeder folder management enhancement

Is your feature request related to a problem? Please describe.
Confusing which badaso seeder file

Describe the solution you'd like
Grouping on a folder

Describe alternatives you've considered
Use prefix on file name

Additional context

Badaso
-- CRUD (CRUDData before) *contain curd generated management seeder
-- ManualGenerate *contain seedr file generated by badsao:generate cli
-- *Core file on root

npm run dev error

gagal saat npm run dev, mohon bantuannya,
sudah coba clear cache dan instalasi ulang tetap dapat error saat npm run dev

Separate setting CRUD management betwwen "basic setting" and "advance setting"

Is your feature request related to a problem? Please describe.
Need simplecity setting and don't confuse new user

Describe the solution you'd like
Just show basic setting first, and hide advance setting (model & controller override, etc) on a expansion panel

Describe alternatives you've considered
We can use expansion panel or anything for hide expansion panel, just choose the better one

Need validation on "soft delete" feature on "Crud Management" Menu

Describe the bug
While enable "soft delete" but table still doesn't has "delete_at" column, it will cause error on related menu and soft delete feature doesn't work

Expected behavior

  1. When enable "soft delete" feature on "CRUD management" while the related table doesn't has "delete_at" column, it till trigger validation that said "delete_at column required for soft delete feature, please add it first".

[v2.x] Requirements could not be resolved to an installable set of packages.

Describe the bug
Requirements could not be resolved to an installable set of packages.

Problem 1
    - badaso/core[2.0.0-rc, ..., 2.0.0-rc.8] require league/flysystem-aws-s3-v3 ^1.0.28 -> satisfiable by league/flysystem-aws-s3-v3[1.0.28, 1.0.29, 1.0.x-dev (alias of dev-master)].
    - league/flysystem-aws-s3-v3 1.0.x-dev is an alias of league/flysystem-aws-s3-v3 dev-master and thus requires it to be installed too.
    - league/flysystem-aws-s3-v3[dev-master, 1.0.28, ..., 1.0.29] require aws/aws-sdk-php ^3.20.0 -> satisfiable by aws/aws-sdk-php[3.20.0, ..., 3.185.10].
    - aws/aws-sdk-php[3.20.0, ..., 3.69.10] require guzzlehttp/guzzle ^5.3.1|^6.2.1 -> found guzzlehttp/guzzle[5.3.1, ..., 5.3.x-dev, 6.2.1, ..., 6.5.x-dev] but it conflicts with your root composer.json require (^7.0.1).
    - aws/aws-sdk-php[3.69.11, ..., 3.130.3] require guzzlehttp/guzzle ^5.3.3|^6.2.1 -> found guzzlehttp/guzzle[5.3.3, 5.3.4, 5.3.x-dev, 6.2.1, ..., 6.5.x-dev] but it conflicts with your root composer.json require (^7.0.1).
    - aws/aws-sdk-php[3.131.0, ..., 3.173.19] require guzzlehttp/psr7 ^1.4.1 -> found guzzlehttp/psr7[1.4.1, ..., 1.x-dev] but the package is fixed to 2.0.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - aws/aws-sdk-php[3.173.20, ..., 3.185.10] require guzzlehttp/psr7 ^1.7.0 -> found guzzlehttp/psr7[1.7.0, ..., 1.x-dev] but the package is fixed to 2.0.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - Root composer.json requires badaso/core ^2.0@RC -> satisfiable by badaso/core[2.0.0-rc, ..., 2.0.0-rc.8].

To Reproduce
Steps to reproduce the behavior:

  1. Install laravel via https://laravel.com/docs/8.x/installation#getting-started-on-macos
  2. run composer require badaso/core

Expected behavior
Installed without error

Screenshots
Screen Shot 2021-07-12 at 15 50 29

Additional info
We can use argument -W composer require badaso/core -W, but's it's not the best practice i think.

That's composer.lock changed if we use -W

  • Changed guzzlehttp/psr7 version from 2.0.0 to 1.8.2
  • Remove psr/http-factory

Soft delete option on CRUD management

Softdelete use dataype in badaso concept

algoritma

1. pada datatype buat field baru is_soft_delete
2. pada browse tambahkan action baru, Data Recycle 
3. jika delete data
	jika use is_soft_delete
		generate timestamp pada field deleted_at
	jika
		langsung delete data
4. jika show data soft delete
		jika use is_soft_delete
			data ditampilkan berdasarkan deleted_at yang null
			jika action data recycle ditekan
				menampilkan data soft delete
				jika data yang telah ada timestamp deleted_at
					terdapat action baru recovery data
						jika action recovery data ditekan
							deleted_at diubah menjadi null
	selain itu
		tampilkan data seperti biasa

view

in browse
1. add new button Recycle Bin 
2. if event click button Recycle Bin
	redirect to new page "/admin/product/bin" with name file vue is browse-bin.vue
		in browse-bin.vue 
			- restore 
			- delete pemanent	

Can change login page background

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Need BadasoManualGenerateSeeder.php

Is your feature request related to a problem? Please describe.
There's no main class for run manual generate seeder

Describe the solution you'd like
Create BadasoManualGenerateSeeder.php also while first manual generate seeder create

Informational dashboard

Is your feature request related to a problem? Please describe.
Currently, Badaso dashboard UI is lacking information for early adopters

Describe the solution you'd like
Add extra information in dashboard

Describe alternatives you've considered
Borrowing from other open source projects:

Strapi has this helpful information on their dashboard
image

There should be help icon for some complex/new concept/badaso exclusive feature
image

Change composer.json "guzzlehttp/guzzle": "^7.3" to "guzzlehttp/guzzle": "^7.0.1",

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

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.