Skip to content

sebalbisu/shopapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ShopApp demo

made with AngularJs and Laravel 5

Setup Backend

  1. create a virtual host for apache like shopapp/.example-apache.conf:

  2. create database in mysql

mysql> create database shopapp character "utf8";
  1. complete configuration file .env in backend
$ cd shopapp/api/
$ cp .example.env .env
  1. install backend dependencies using composer:
$ cd shopapp/api/
$ composer install
  1. run database installation with laravel and mock data
$ php artisan migrate
$ php artisan db:seed
  1. generate app_key
$ php artisan key:generate
copy/paste the generated key to .env with the name APP_KEY=...yourKey...
  1. give file access to write logs
$ sudo chmod -R 0777 shopapp/api/storage/
  1. test the api from browser
http://shopapp.local/v1.0/user

Setup Frontend

  1. install front end dependencies using bower:
$ cd shopapp/web-app/
$ bower install
  1. test the app from browser
http://shopapp.local/

About

ecommerce demo build with angularjs and laravel

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published