Giter VIP home page Giter VIP logo

devlessteam / dv-php-core Goto Github PK

View Code? Open in Web Editor NEW
170.0 24.0 56.0 27.94 MB

Devless is a ready-made back-end for development of web or mobile applications. It is fully open source under the permissive Apache v2 license. This means that you can develop your front end without worrying about neither back-end code or the business risk of a proprietary backend-as-a-service.

License: Apache License 2.0

PHP 59.83% JavaScript 21.87% CSS 0.01% HTML 18.29%
baas backend-services php laravel backend-as-a-service apis reusable docker

dv-php-core's Introduction

Build Status Docker Pulls Codacy Badge Open Source Helpers

Devless is a tool for ready-made back-end for development of web or mobile applications. It is fully open source under the permissive Apache v2 license. This means that you can develop your front end without worrying about neither back-end code or the business risk of a propitiatory backend-as-a-service.

DevLess provides the perfect starting point for your next big idea. Forget all the boilerplate and focus on what matters: your APPLICATION and USERS its like Laravel Spark and also comes with the ease Parse(RIP) had. https://devless.io/

How?

Well first upto 93% of the things you do on DevLess is pure configuration via GUI Service Image

*For example this is how you create tables on DevLess (migration equivalence in frameworks) Tables Image

Deciding on which table to make available to end users via automagically generated APIs is just a tab away Privacy Image Working with Data is a joy data table Deployment is a breeze all you have to do is export your app and import it into another DevLess instance on the cloud could be via our docker image

This part ensures that no shit 💩 is blown into the project

The key words “MUST”, “MUST NOT”, “REQUIRED”, “SHALL”, “SHALL NOT”, “SHOULD”, “SHOULD NOT”, “RECOMMENDED”, “MAY”, and “OPTIONAL” in this document are to be interpreted as described in RFC 2119.

The project versioning is based on Sermantic Versioning Specification

Coding standards are also based on the PSR-2-coding-style-guide

For those ready to take the 💊 or you could just ignore below and use docker 📦

Devless API Engine(DAE) is an opensource API engine that allows CRUD access to databases as well as execute PHP scripts and rules.

Current implementation of the Devless API Engine is in PHP and built on top of the Laravel framework.

DAE can be used as a standalone (accessed solely via API calls) however a management console is provided to interact with the API engine.

Requirements

  • Database (MySQL, PostgreSQL, SQLSRV etc..)
  • An HTTP server
  • PHP >= 5.5.9
  • OpenSSL PHP Extension
  • PDO PHP Extension
  • Mbstring PHP Extension
  • Tokenizer PHP Extension
  • Composer

Installation procedure

  • Clone the repo git clone https://github.com/DevlessTeam/DV-PHP-CORE.git
  • Change into directory cd DV-PHP-CORE
  • run composer install to grab dependecies
  • copy .env.example to .env cp .env.example .env and update the database options
  • run migrations with ./devless migrate
  • ./devless serve

If everything goes on smoothly you should be able to access the setup screen at localhost:8000

If you will need help setting up you may check out the Laravel installation guide as the Devless core is based off of Laravel.

Alternatively, you can deploy your own copy unto Heroku😎

Deploy to Heroku

Checkout out the docs

Questions and Support

Follow or join these channels for questions and support, and to keep updated on latest releases and announcements.

Slack


Join Now >
Twitter


Follow >

How to contribute

Please checkout the Contribute guide on how to contribute No contribution is too small

dv-php-core's People

Contributors

beutlin avatar casprine avatar codetriage-readme-bot avatar devlesssrepo avatar eddymens avatar fannur avatar jlsodai avatar johnotu avatar monkeywithacupcake avatar paulkarikari avatar paynegreen avatar silentworks 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  avatar  avatar  avatar  avatar

dv-php-core's Issues

Selecting a user

From the view that displays users, the checkbox to select a single user is not working i.e Cant select a user.

Strange behaviour at Users Management and Error when cancel update User

This is how to reproduce it

Problem 1:

  1. Open the Users Management

image

  1. Select user with empty username
    image

  2. Click cancel & I got this error

image

Problem 2:

  1. Open the Users Management

image

  1. Select last user in grid

image

  1. Click cancel , and the last grid will copied to first grid

image

note: this problem is happening when deleting and updating user too

Modal not closing after viewing record from data table

I've got a list of records in my Data Table and when I try to view one, a modal opens with the fields to edit, delete, or cancel. It fails however to close when I click the cancel button. I checked my browser console an note this error:

TypeError: undefined is not an object (evaluating '$(this).find("button:focus")[0].innerText')

NB: This is on Safari browser

Composer Install: PHP version requirements

On the first time of running composer install in the root directory I get a

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - This package requires php ^5.6.0 but your PHP version (7.0.15) does not satisfy that requirement.

I am running Ubuntu 16.04 with PHP 7.0.15-0ubuntu0.16.04.4.

Previously on Composer version 1.2.1 but the same issue persists even after upgrading to version 1.4.1.
I will proceed with more tests and upgrade this issue if and when necessary.

Decimal validator not working

Response when trying to add data. The field validator for decimals isn't working.

{
    "status_code": 618,
    "message": "validator type decimals does not exist",
    "payload": []
}

add support for php7

Your requirements could not be resolved to an installable set of packages.

Problem 1
- This package requires php ^5.6.0 but your PHP version (7.1.12) does not satisfy that requirement.

Array to string conversion

Trying to create a table in Devless with this error message. No error message in browser or terminal console

screenshot from 2016-08-31 17-09-00

Db relationships break on import

Creating a service with tables that have relationships work fine . Exporting them for use with other DevLess instances also works well. But on import into another instances relations seem to fail. One place you can get started with is the ServiceMigrationController

Database-rec missing

Any chance that database.sqlite3 or the database-rec could be recreated automatically should they not exist on startup or when they're requested or one tries to write to?

button "Add Data" doesn't work in Data Table page

In version 1.3.2, if visit the page Data Table with get parameters (/datatable?service_name=cafe&table_name=category), button "Add Data" doesn't work, because functio init() in datatable.js was not call. Will work if only change service, because init() function in method $("#service").change

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.