GithubHelp home page GithubHelp logo

rapideinternet / exposia-bakkuclient Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 91 KB

BakkClient is a Laravel client for Bakku CMS. ๐Ÿ˜Ž

Home Page: https://exposia.nl

PHP 85.90% JavaScript 0.40% Blade 13.70%
blade cms html laravel bakku

exposia-bakkuclient's Introduction

Bakku Logo

About BakkuClient

BakkuClient is a simple client for the Bakku API. Easily create a website with the Bakku API.


Features

  • Pages
  • Components
  • Forms
  • Caching
  • Error handling
  • Fully customizable

Usage

First register your website on Bakku. Then generate a api_key for your website.

1. Fill in the BAKKU_SITE_ID and BAKKU_API_KEY in the .env file

BAKKU_SITE_ID={{YOUR_SITE_ID}}
BAKKU_API_KEY={{YOUR_API_KEY}}

2. Create or edit the pages in /resources/views/pages/

3. To include images use the following code

<x-media :id="$block['fields']['image']" />

4. To include a collection use the following code

<x-collections :type="'{{COLLECTION_TYPE}}'" :limit="{{LIMIT}}" />

5. To change the collections open the /app/View/Components/Collections.php file and change the collections

6.To include the menu use the following code

<x-menu slug="{{ $slug }}" />

7. Create or edit the components in /resources/views/components/, if you need an extra component use

php artisan make:component {{ComponentName}}

8. To create blocks use the following command

php artisan make:view blocks/{{BlockName}}

9. To include a block use the following code

@foreach($blocks as $block)
    @include('blocks.'.$block['label'], ['block' => $block])
@endforeach

10. To create a page use the following command

php artisan make:view pages/{{PageName}}

Installation

1. Fork the repository

2. Clone the repository

git clone https://github.com/rapideinternet/{{REPO_NAME}}.git

3. Go to the project directory

cd {{REPO_NAME}}

4. Install composer dependencies

composer install

5. Copy the .env.example file and rename it to .env

cp .env.example .env

6. Generate a new application key

php artisan key:generate

7. Run the migrations

php artisan migrate

8. Install npm dependencies

npm install

9. Compile the assets

npm run build

10. Run the application

php artisan serve

License

This client is made by Exposia and is open-sourced software licensed under the MIT license.

exposia-bakkuclient's People

Contributors

rick-visser avatar

Watchers

Lucas van der Have 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.