bedita / bedita
BEdita API-first content management server app
Installs: 270
Dependents: 0
Suggesters: 0
Security: 1
Stars: 67
Watchers: 14
Forks: 21
Open Issues: 66
Type:project
Requires
- php: ^7.4 || ^8.0
- cakephp/cakephp: ~4.5.0
- cakephp/plugin-installer: ^1.3.1
- guzzlehttp/psr7: ^2.2.1
- wikimedia/composer-merge-plugin: ^2.0.1
Requires (Dev)
- bedita/dev-tools: ^2.1
- cakephp/bake: ^2.7
- cakephp/cakephp-codesniffer: ^4.7
- cakephp/debug_kit: ^4.8.1
- cakephp/repl: ^0.1
- dereuromark/cakephp-ide-helper: ^1.17
- dms/phpunit-arraysubset-asserts: ^0.4
- phpstan/extension-installer: ^1.0
- phpstan/phpdoc-parser: 1.5.1
- phpstan/phpstan: ^1.7.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpunit/phpunit: ^9.5
Conflicts
Replaces
- bedita/api: v5.35.0
- bedita/core: v5.35.0
- dev-5-salix
- v5.35.0
- v5.34.0
- v5.33.2
- v5.33.1
- v5.33.0
- v5.32.0
- v5.31.1
- v5.31.0
- v5.30.2
- v5.30.1
- v5.30.0
- v5.29.1
- v5.29.0
- v5.28.1
- v5.28.0
- v5.27.4
- v5.27.3
- v5.27.2
- v5.27.1
- v5.27.0
- v5.26.0
- v5.25.1
- v5.25.0
- v5.24.0
- v5.23.2
- v5.23.1
- v5.23.0
- v5.22.0
- v5.21.3
- v5.21.2
- v5.21.1
- v5.21.0
- v5.20.0
- v5.19.0
- v5.18.2
- v5.18.1
- v5.18.0
- v5.17.0
- v5.16.0
- v5.15.1
- v5.15.0
- v5.14.3
- v5.14.2
- v5.14.1
- v5.14.0
- v5.13.9
- v5.13.8
- v5.13.7
- v5.13.6
- v5.13.5
- v5.13.4
- v5.13.3
- v5.13.2
- v5.13.1
- v5.13.0
- v5.12.0
- v5.11.0
- v5.10.0
- v5.9.1
- v5.9.0
- v5.8.2
- v5.8.1
- v5.8.0
- v5.7.2
- v5.7.1
- v5.7.0
- v5.6.2
- v5.6.1
- v5.6.0
- v5.5.7
- v5.5.6
- v5.5.5
- v5.5.4
- v5.5.3
- v5.5.2
- v5.5.1
- v5.5.0
- v5.4.0
- v5.3.2
- v5.3.1
- v5.3.0
- v5.2.0
- v5.1.0
- v5.0.10
- v5.0.9
- v5.0.8
- v5.0.7
- v5.0.6
- v5.0.5
- v5.0.4
- v5.0.3
- v5.0.2
- v5.0.1
- v5.0.0
- v5.0.0-beta
- v5.0.0-alpha
- v4.13.1
- v4.13.0
- v4.12.0
- v4.11.1
- v4.11.0
- v4.10.0
- v4.9.5
- v4.9.4
- v4.9.3
- v4.9.2
- v4.9.1
- v4.9.0
- v4.8.0
- v4.7.1
- v4.7.0
- v4.6.1
- v4.6.0
- v4.5.0
- v4.4.0
- v4.3.0
- v4.2.1
- v4.2.0
- v4.1.0
- v4.0.0
- v4.0.0-RC3
- v4.0.0-RC2
- v4.0.0-RC
- v4.0.0-beta2
- v4.0.0-beta
- v4.0.0-alpha2
- v4.0.0-alpha
- dev-feat/6.x
- dev-dependabot/github_actions/codecov-d109cd9e8b
- dev-4-cactus
- dev-refactor/bedita-tablelocator-for-resources-utility
- dev-fix/reset-admin-status
- dev-feat/v4/folders-categories-association
- dev-feat/v4/openapi-3
- dev-fix/v4/fix-error-when-including-2nd-level-relations
- dev-chore/remove-problematic-deps
This package is auto-updated.
Last update: 2024-11-21 14:40:58 UTC
README
BEdita 5 is a ready to use back-end API to handle the data of your mobile, IoT, web and desktop applications. It's also an extensible framework to build your custom back-end API via plugins.
It provides a complete content management solution with:
- a headless HTTP server application with a complete REST API to model, create, modify and retrieve data
- a default admin web application BEdita Manager
BEdita 5 is built with CakePHP 4 and uses relational DBMS like MySQL, Postgres or SQLite in conjunction with (optional) NoSQL systems like Redis, Elastic Search or time series databases to boost performance and scale up to Big Data scenarios.
JSON-API is the primary exchange data format.
GrapQL initial support available via dedicated plugin.
The easiest and quickest way to try out BEdita4 is via Docker, read instructions below.
Prerequisites
- PHP 7.4, 8.0, 8.1, 8.2 or 8.3 with extensions:
json
,mbstring
,fileinfo
,intl
,pdo
,simplexml
- MySQL 8.0 (recommended) or MySQL 5.7, Postgres 11/12/13/14, MariaDB 10.2/10.3/10.4 or SQLite 3
- Composer
Install
For a detailed setup overview see Setup Documentation
Quick setup in three steps.
- Create project via composer
composer create-project bedita/bedita
If you are using a .zip or .tar.gz release file you just need to unpack it and then run composer install
.
-
Create an empty database either MySQL or PostgresSQL. Do nothing for SQLite.
-
Change to the newly created folder and run this script to initialize the database and create first admin user:
bin/cake bedita setup
See Web Server setup
to configure a virtualhost in your webserver.
To see first /home
endpoint response you may point to http://your-vhost/home
Curl example:
curl -H Accept:application/json http://your-vhost/home
Otherwise, only for development or test setups, you can take advantage of PHP builtin server with this simple command:
bin/cake server
and see /home
endpoint response pointing to http://localhost:8765/home
like this:
curl -H Accept:application/json http://localhost:8765/home
For an explanation on Accept
headers usage read here.
Docker
See Docker setup documentation for a more detailed overview.
Pull official image
Get latest offical image build from Docker Hub
docker pull bedita/bedita:latest
You may also use :5-salix
tag instead of :latest
, they are currently synonyms.
Build image
If you want to build an image from local sources you can do it like this from BEdita root folder:
docker build -t bedita5-local .
You may of course choose whatever name you like for the generated image instead of bedita5-local
.
Run
Run a Docker image setting an initial API KEY and admin username and password, like this:
docker run -p 8090:80 --env BEDITA_API_KEY=1029384756 \ --env BEDITA_ADMIN_USR=admin --env BEDITA_ADMIN_PWD=admin \ bedita/bedita:latest
This will launch a BEdita4 instance using SQLite
as its storage backend. It should become available at http://localhost:8090/home almost instantly.
Replace bedita/bedita:latest
with bedita5-local
(or other chosen name) to lanch a local built image.
Documentation
Developer documentation can be found here
Licensing
BEdita is released under LGPL, Lesser General Public License v3.