Git Product home page Git Product logo

laracon-au-eat-me's Introduction

eat.me demo app

This app has been developed for my talk "Statamic for Laravel Devs" at Laracon AU.

Check out Statamic for Laravel Devs for more details.

This demo includes:

  • a basic Livewire app
  • Statamic installed on top of the app
  • A fully functioning Blog, with focal cropping on images
  • Nav configured in Statamic (with a custom Laravel Route fieldtype)
  • A "settings" Global for the Footer copyright text
  • Content pages, such as Privacy Policy and Contact
  • Runway for viewing/editing Eloquent models in Statamic, by the incredible Duncan McClean
  • Bard Ipsum, by the awesome Jack Sleight

Set up

When you've got the repo cloned locally, and configured your .env - including database details - and you're ready to get started:

# get the dependencies
composer install

# if you haven't done it yourself
php artisan key:generate

# set up the eat.me database and data
php artisan migrate
php artisan db:seed
php artisan storage:link

# set up npm
npm install
npm run dev

All seeded user details (check out the users table in the database) have the password of "password". Super secure, right?

These users can all log in to the front end of the website.

Statamic Control Panel

To get in to the Statamic Control Panel, you will need to make a user:

php please make:user

Follow the prompts, and when asked if you want to be a Super User, select yes.

You can access the Control Panel by going to /cp on your site.

laracon-au-eat-me's People

Contributors

martyf avatar

Watchers

 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.