Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chialab/bedita-frontend-kit
🔌 BEdita 5 plugin to help with development of websites.
https://github.com/chialab/bedita-frontend-kit
Last synced: about 2 months ago
JSON representation
🔌 BEdita 5 plugin to help with development of websites.
- Host: GitHub
- URL: https://github.com/chialab/bedita-frontend-kit
- Owner: chialab
- License: mit
- Created: 2020-12-21T15:08:10.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-11-05T16:42:40.000Z (about 2 months ago)
- Last Synced: 2024-11-05T17:49:20.665Z (about 2 months ago)
- Language: PHP
- Homepage:
- Size: 475 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Chialab/FrontendKit
The **Frontend Kit** is a [BEdita 5](https://www.bedita.com/) plugin designed to help in developing frontends.
It covers objects routing and loading, views composition and auth-based staging sites.## Usage
You can install the plugin using [Composer](https://getcomposer.org).
The recommended way to install Composer packages is:
```sh
$ composer require chialab/frontend-kit
```Then, you have to load it as plugin in your Cake application:
**src/Application.php**
```php
$this->addPlugin('Chialab/FrontendKit');
```Please read the [Wiki](https://github.com/chialab/bedita-frontend-kit/wiki) to correctly setup the frontend.
## Testing
[![GitHub Actions tests](https://github.com/chialab/bedita-frontend-kit/actions/workflows/test.yml/badge.svg?event=push&branch=main)](https://github.com/chialab/bedita-frontend-kit/actions/workflows/test.yml?query=event%3Apush+branch%3Amain)
[![codecov](https://codecov.io/gh/chialab/bedita-frontend-kit/branch/main/graph/badge.svg)](https://codecov.io/gh/chialab/bedita-frontend-kit)Since some FrontendKit queries uses specific MySQL syntax, you must provide a DSN url for a test database before running tests:
```sh
$ export db_dsn='mysql://root:****@localhost/bedita4_frontendkit'
```Then, you can launch tests using the `test` composer command:
```sh
$ composer run test
```---
## License
**Chialab/FrontendKit** is released under the [MIT](https://gitlab.com/chialab/bedita-frontend-kit/-/blob/main/LICENSE) license.