Skip to content

Instantly share code, notes, and snippets.

@rppowell-lasfs
Last active February 23, 2018 04:55
Show Gist options
  • Save rppowell-lasfs/c79b00c5995afcf5922438ed8cee1953 to your computer and use it in GitHub Desktop.
Save rppowell-lasfs/c79b00c5995afcf5922438ed8cee1953 to your computer and use it in GitHub Desktop.
webapp-builders/market notes 2018-02-01

PHP Laravel / Vue.JS

Communication:

Introduction

This is building a booktoor web application using PHP Laravel, Vue.JS

A marketplace for books.

Features:

  • login / user profiles
  • profile - edit
  • seller account - listings
  • seller account - sales history
  • book entry - uploading image

Using

  • Bootstrap3

Developer Access

Setup

Setup Dev

Download code from:

Then use the following to start docker container (via vessel / https://vessel.shippingdocker.com/ )

./vessel start


` ERROR: build path /Users/rpowell/dev/webapp-builders/learning-2018-01-31-001/docker/node either does not exist, is not accessible, or is not a valid URL.

ERROR: build path /Users/rpowell/dev/webapp-builders/learning-2018-01-31-001/docker/app either does not exist, is not accessible, or is not a valid URL. `


`

copy example .env

cp .env.example .env

init

./vessel yarn ./vessel composer install ./vessel artisan key:generate ./vessel init ./vessel start

To cleanup:

rm -rf vendor/ node_modules/ storage/framework/views/.php bootstrap/cache/.php

`


`

this works

./vessel yarn ./vessel composer install ./vessel artisan key:generate ./vessel init ./vessel start


this works ?

./vessel init ./vessel artisan key:generate ./vessel start #./vessel yarn #./vessel composer install `


No .env file found within current working directory /Users/rpowell/dev/webapp-builders/learning-2018-01-31-001 Copy from .env.example to .env

Run to generate key: artisan key:generate


market/resources/assets/js/components/App.vue


`

setting up user authorization

./vessel artisan make:auth ./vessel artisan migrate `

Adds

auth

Add in routes/web.php: Auth::routes();

Add in: market/app/Http/Controllers/Auth

Add in market/database/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment