Dillinger uses a number of open source projects to work properly:
Install the dependencies and devDependencies and start the server.
$ cd CodingChallenge/backend
$ npm i
$ composer i
Now you can see many directory was added 'node_modules' and 'vendor'. To create symbolic link by run.
$ php artisan storage:link
we can crerate databse using this command
$ php artisan db:create {name?}
Rollback all migrations and run them all again
$ php artisan migrate:refresh --seed
Now we had conifgure Our Envirement,next step we can test all required features by raning many commands see you in next step.
Hi again, happy to see you again, so now we can run our servers. to run server of laravel tap this:
$ php artisan serve
Second Tab is to run VueJs project:
$ npm run watch
(optional) Third to see front side with ReactJs:
$ cd ..
$ cd frontEnd
$ npm i
$ npm start
Verify the deployment by navigating to your server address in your preferred browser(Laravel/VueJs).
127.0.0.1:8000
(optional) ReactJs Side.
127.0.0.1:3000
if you want to Add Product from cli
$ php artisan AddProduct