Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Frontender Platform

Frontender is a front-end solution for API driven website architecture. Read more about Frontender on our website https://getfrontender.com

License Version Version

Table of content

Server Requirements

  • PHP 7.1 or higher
  • PHP MongoDB extension
  • PHP Zip extension
  • PHP GD extension
  • Composer
  • MongoDB

Pre-requisites

Prepare a functional Mongo DB instance.

Install Mongo DB. You can create a database or have the installer do it for you.

Register a (free) Frontender account

Visit https://getfrontender.com and register your free account.

Request a project token

Register a new project by sending your project domain and the email you used for your registration to create-project@getfrontender.com.

Creating your first project

Step 1. Install Frontender Platform

Create a file install.json. You can use the install.json-preset we have provided as a template: cp install.json-preset install.json. It should contain the following:

{
  "token": "###",
  "mongo_host": "mongodb+srv://#USERNAME#:#PASSWORD#@#DOMAIN#:#PORT#",
  "mongo_dbname": ""
}

Run the following from the commandline: composer install. Frontender Platform will now run a sequence of install commands to set up the database and import a barebones structure for further development.

Step 2. Setup your hosts file

Next, setup your hosts file. The implementation will differ depending on your server or development setup, but basically you just need to make sure your server is pointing to the public folder for routing.

Step 3. Import a project

Your installation now contains most the resources and dependencies, except for pages. You can create these manually, or import a barebones project to create your new project. Import a project by running:

composer run-script import-project https://github.com/getfrontender/frontender.project.stark/archive/master.zip

You can select any of the Frontender prefab projects, or create your own.

All done, you can now remove the install.json file.

Updating controls

To update all existing controls in your project you can run the command:
composer run-script import-project-controls

Updating blueprints

To update all existing blueprints in your project you can run the command:
composer run-script import-project-blueprints

Updating pages

To update all existing pages in your project you can run the command:
composer run-script import-project-pages

Debugging

Frontender Platform will also function with PHP MongoDB extensions version 1.5 and up, but this will require you to run the installer with the --ignore-platform-reqs flag.

About

The web application platform for Frontender

Resources

License

Releases

No releases published

Packages

No packages published

Languages