Giter Club home page Giter Club logo

mithril_be's Introduction

Giggle Pig: Back-end Framework (PHP)

Giggle Pig framework is an **highly opinionated** framework/template to develop monolithic applications with PHP backend and Vue.js-based front-end SPA.

Vue front-end communicates with PHP backend using api calls, which can also be guarded with authentication and authorization. Because of the monolithic nature, authenticated api calls carry api-key for auth.

This project is developed mostly for rapid development for low-budget php hostable application development.

PHP codebase require at least PHP 7.2, Vue.js 2 is used on the front-end.

How to set up

  1. Once cloned the repo, make sure the public folder inside the project is pointed as serving folder for the http server. (Laragon is recommended for local development)
  2. Run the SQL file in the project to set up the user table with admin user for login/authentication.
  3. bootstrap.php file contains the connection details for the database server. Update the username, password and database name if needed.
  4. run npm install to set up Vue building workflow. The project comes with Laravel-mix for building Vue SPA. After running npm install you can use npx mix to build Vue code, or use npx mix watch to run watch process that watch for any source code modification and build on the fly. more details here.

Login details

Once you run the SQL file, you will have a single user (Administrator) in the database. You can log in to the app using the following credentials to access the admin area.

username: admin
password: admin

Features

Giggle Pig is highly opinionated. It comes with pre-built custom components for both PHP and Vue.js.

Dialog boxes and input boxes

Giggle Pig uses Bootloks to provide Bootstrap's modal based programmatically callable dialog boxes. Bootloks is a standalone lib. https://github.com/srisar/bootloks

Modal windows

Vue component that creates modal windows based on Bootstap 5 modals.

File uploading features

Libraries Used

PHP:

  • nesbot/carbon

JavaScript:

  • Vue.js, Vuex, Vue-Router
  • axios
  • lodash

CSS

  • Bootstrap 5

Build tools

  • Laravel-mix

mithril_be's People

Contributors

srisar avatar

Watchers

 avatar

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.