raphaeldealmeida / stock-manager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stock Manager System

A simple system built with Laravel + Vue.JS

Install

The project is split in backend and frontend

Install backend

The backend is a laravel API without HTML return. Start on backend folder. Copy .env.example to .env, fill database credentials and create it

composer install

php artisan key:generate

php artisan migrate --seed

php artisan test

php artisan serve

Whether this works, http://localhost:8000 will say hello

Install frontend

Start on frontend folder

npm install

npm run serve

For run the tests e2e you need php artisan serve and npm run serve before. Each execution the database will be refreshed

npm run cypress:chrome

Whether this works, http://localhost:8080 will show up.

About


Languages

Language:PHP 72.3%Language:Vue 12.6%Language:JavaScript 9.0%Language:Blade 3.5%Language:Shell 1.1%Language:Dockerfile 0.7%Language:HTML 0.6%Language:Makefile 0.2%