/propertybook

interview assessment at propertybook

Primary LanguagePHP

propertybook

How to run the project

A demo of this project is available online at https://property.flixtechs.co.zw.

Admin panel is available at https://property.flixtechs.co.zw/cp.

Username and password for the demo are: admin@admin.com and demoadmin.

To run the project locally, follow these steps:

Clone the repository

git clone git@github.com:SlimGee/propertybook.git

Install dependencies

composer install
yarn install && yarn build

Or if you prefer npm

npm install && npm run build

Set up the environment file

cp .env.example .env

Configure the database connection in the .env file.

Migration the database

php artisan migrate

Generate the application key

php artisan key:generate

Create super admin user

The backoffice admin is build with Statamic, Statamic. To create a super admin user, run the following command:

php please make:user

Serve the application

If you have Lravel Valet installed, you can serve the application with the following command:

valet open

Or you can use the built-in Laravel server:

php artisan serve

Updating content

Like I mentioned earlier, the backoffice is built with Statamic. To access the backoffice, visit /cp on your local server. You can log in with the super admin user you created earlier.

Navigate to Collections > Pages to update the content of the pages.

Each section of the page can be updated by clicking on the section and updating the content.