Coder Social home page Coder Social logo

laravel-starter's Introduction

A Starter Project using Laravel 5 & Vue.js

Installation

git clone https://github.com/sohelamin/laravel-starter.git
cd laravel-starter
composer install
npm install
php -r "copy('.env.example', '.env');"
php artisan key:generate
php artisan migrate
php artisan db:seed

npm run dev
php artisan serve

Login

User: [email protected]
Pass: 123456

Screenshot

screenshot

##Author Sohel Amin

laravel-starter's People

Contributors

alimranahmed avatar sohelamin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

laravel-starter's Issues

Change login redirect to Admin

Please consider changing:

protected $redirectTo = '/home';
to
protected $redirectTo = '/admin';
in app/Http/Controllers/Auth/LoginController.php

Thanks.

Error running gulp

I'm using vagrant to run the starter with

Node 7
NPM 2.14.4
Laravel 5.3.18

throw new Error("Module '" + loader.path + "' is not a loader (must have normal or pitch function)");

This after I fixed this issue #1

I'm trying to use this fix https://laracasts.com/discuss/channels/elixir/laravel-53-error-on-gulp-execution?page=2

and this fix

https://github.com/laravel/elixir/issues/643#issuecomment-250928438

I'll let you know if I'm successful with it

Did you encounter any of these issues and were you able to solve it?

I got some error like

I got an error like:

`{ [Error: Entry module not found: Error: Can't resolve 'buble' in '/var/www/html/laravel-starter'
resolve 'buble' in '/var/www/html/laravel-starter'
  Parsed request is a module
  using description file: /var/www/html/laravel-starter/package.json (relative path: .)
  after using description file: /var/www/html/laravel-starter/package.json (relative path: .)
    resolve as module
      module variation buble-loader
        /var/www/html/node_modules doesn't exist or is not a directory
......
`

(file: npm-dubug.log)

0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node',
1 verbose cli   '/usr/lib/node_modules/npm/bin/npm-cli.js',
1 verbose cli   'run-script',
1 verbose cli   'dev' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'predev', 'dev', 'postdev' ]
5 info predev @
6 info dev @
7 verbose unsafe-perm in lifecycle true
8 info @ Failed to exec dev script
9 verbose stack Error: @ dev: `gulp watch`
9 verbose stack Exit status 1
9 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/lib/utils/lifecycle.js:217:16)
9 verbose stack     at emitTwo (events.js:87:13)
9 verbose stack     at EventEmitter.emit (events.js:172:7)
9 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/lib/utils/spawn.js:24:14)
9 verbose stack     at emitTwo (events.js:87:13)
9 verbose stack     at ChildProcess.emit (events.js:172:7)
9 verbose stack     at maybeClose (internal/child_process.js:829:16)
9 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
10 verbose pkgid @
11 verbose cwd /var/www/html/laravel-starter
12 error Linux 4.7.4-200.fc24.x86_64
13 error argv "/usr/bin/node" "/usr/lib/node_modules/npm/bin/npm-cli.js" "run-script" "dev"
14 error node v4.5.0
15 error npm  v2.15.9
16 error code ELIFECYCLE
17 error @ dev: `gulp watch`
17 error Exit status 1
18 error Failed at the @ dev script 'gulp watch'.
18 error This is most likely a problem with the  package,
18 error not with npm itself.
18 error Tell the author that this fails on your system:
18 error     gulp watch
18 error You can get information on how to open an issue for this project with:
18 error     npm bugs
18 error Or if that isn't available, you can get their info via:
18 error
18 error     npm owner ls
18 error There is likely additional logging output above.
19 verbose exit [ 1, true ]

JWT implementation

Does your package employ JWT methods with respect to the API? How does the API authenticate its users? CSRF Token?

Laravel-Admin:install

Was successful in installing the starter but when trying to run php artisan laravel-admin:install gives me

[Symfony\Component\Console\Exception\CommandNotFoundException]
There are no commands defined in the "laravel-admin" namespace.

Would there be another step to do? What about the CRUD generator?

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.