<commit_before># Codecast's SPA Starter Kit

> A **highly opinionated** Single Page Application starter kit built on top of Vue.js and Laravel.

This package contains two separate projects to act as a starting point for a Single Page Application: a Vue.js project (created with vue-cli + webpack template) and a Laravel 5.3 project.

They're not just freshly created projects but a fully working application that can be modified and expanded to become your own application.

## Features

1. Client side
    * Vue.js 2.0 project create with vue-cli + webpack template
    * Centralized state management with Vuex
    * Route management with Vue-router
    * Authentication with JWT
    * Keep user signed in using local stored info
    * HTTP requests with Axios
    * ESList, no semi-colons
    * Pagination integrated with Laravel's LengthAwarePaginator
2. Server side
    * Laravel 5.3
    * Authentication with JWT
    * Web service RESTful with Dingo *(planned)*

## Prerequisites

Make sure you have installed **Node** and **NPM** (latest versions) as well as **PHP 7** and **MySQL**.

## Installation

1. Client side
	* With Terminal `cd client && npm i && npm run dev`. Alternatively you can use Yarn: `cd client && yarn && npm run dev`. More info here: [https://yarnpkg.com/](https://yarnpkg.com/).
2. Server side
    * Create a database and configure connection by changing Laravel's provided .env file. Then...
	* With Terminal:
        * `cd webservice`
        * `composer install`
        * `php artisan migrate`
        * `php artisan db:seed`
        * `php artisan serve`

## Usage

1. Client side
	* Your application will be available on **http://localhost:8080**
2. Server side
	* API endpoint is http://**localhost:8000/api**

## Contributing

1. Fork it!<commit_msg>README update<commit_after># Codecast's SPA Starter Kit

> A **highly opinionated** Single Page Application starter kit built on top of Vue.js and Laravel.

This package contains two separate projects to act as a starting point for a Single Page Application: a Vue.js project (created with vue-cli + webpack template) and a Laravel 5.3 project.

They're not just freshly created projects but a fully working application that can be modified and expanded to become your own application.

## Features

1. Client side
    * Vue.js 2.0 project create with vue-cli + webpack template
    * Centralized state management with Vuex
    * Route management with Vue-router
    * Authentication with JWT
    * Keep user signed in using local stored info
    * HTTP requests with Axios
    * ESList, no semi-colons
    * Pagination integrated with Laravel's LengthAwarePaginator
2. Server side
    * Laravel 5.3
    * Authentication with JWT
    * Web service RESTful with Dingo *(planned)*

## Prerequisites

Make sure you have installed **Node** and **NPM** (latest versions) as well as **PHP 7** and **MySQL**.

## Installation

1. Client side
	* With Terminal `cd client && npm i && npm run dev`. Alternatively you can use Yarn: `cd client && yarn && npm run dev`. More info here: [https://yarnpkg.com/](https://yarnpkg.com/).
2. Server side
	* With Terminal:
        * Navigate to **webservice** folder and then:
        * `touch database/database.sqlite`
        * `cp .env.example .env`
        * `cd webservice`
        * `composer install`
        * `php artisan migrate`
        * `php artisan db:seed`
        * `php artisan serve`

## Usage

1. Client side
	* Your application will be available on **http://localhost:8080**
2. Server side
	* API endpoint is http://**localhost:8000/api**

## Contributing

1. Fork it!
{'fraction_non_alphanumeric': 0.09103524840410769, 'fraction_numerical': 0.012212045517624202, 'mean_word_length': 3.3007159904534604, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7161922', 'n_tokens_mistral': 1069, 'n_tokens_neox': 1015, 'n_words': 456}