https://github.com/warborn/workshops
Test Single Page Application to create workshops using Vue.js 2, Bulma 0.3 and Laravel 5.2
https://github.com/warborn/workshops
bulma-css-framework laravel5 school-project vuejs2 web-application
Last synced: 2 months ago
JSON representation
Test Single Page Application to create workshops using Vue.js 2, Bulma 0.3 and Laravel 5.2
- Host: GitHub
- URL: https://github.com/warborn/workshops
- Owner: warborn
- Created: 2017-02-19T06:49:38.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-12T20:23:35.000Z (almost 9 years ago)
- Last Synced: 2025-03-04T19:33:24.561Z (over 1 year ago)
- Topics: bulma-css-framework, laravel5, school-project, vuejs2, web-application
- Language: PHP
- Homepage:
- Size: 112 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Workshops
Is a very basic single page application to test the Vue.js framework, it's connected
to an internal API built with the Laravel framework.
It uses Vue's features like:
- Templates
- Components
- Slots
- Broadcast / Emit
- Two way data binding
## How it works
You can add new teacher, courses and classrooms data as well as remove it.

When adding new data instantly you will see that the new data appear below in the corresponding table and in the workshops table, the same happens when you remove data.
In the workshops table you can now select a teacher, course, classroom, day and time to add a new workshop.

All the data is sended to laravel and persisted in a database.
## Installation
Clone this repository
```
git clone https://github.com/warborn/workshops.git
```
Enter the project and install the dependencies
```
cd workshops
composer install
```
Create an **.env** by copying the **.env.example** file located at the root of the directory and generate a security key used by laravel
```
cp .env.example .env
php artisan key:generate
```
Change the following values in the newly created **.env** file accordingly:
```
DB_DATABASE=dbname
DB_USERNAME=dbuser
DB_PASSWORD=password
```
Setup the database schema and fireup the server
```
php artisan migrate
php artisan serve
```
Now you can check the app on [http://localhost:8000/](http://localhost:8000/)