All Projects → vedmant → Running Time

vedmant / Running Time

Licence: mit
Sample Single Page Application using Laravel & Vue.js + Vuex + Vue-Router

Projects that are alternatives of or similar to Running Time

Vue Laravel Spa
Single Page Application made with Vue.JS2, Vue Router, Vuex and Laravel 5.6.
Stars: ✭ 107 (+18.89%)
Mutual labels:  laravel, vuex, vue-router, spa
Roastandbrew
Updated content available! We learned a lot since we originally wrote this article. We now have this updated for Laravel 8, Vue, and NuxtJS 👉 https://srvrsi.de/book
Stars: ✭ 300 (+233.33%)
Mutual labels:  laravel, vuex, vue-router, spa
Laravel Vuejs.com
Laravel and VueJs Blog, using Laravel nova, GraphQL, NuxtJs, Apollo and ...more
Stars: ✭ 54 (-40%)
Mutual labels:  laravel, vuex, vue-router, spa
Enso
Laravel Vue SPA, Bulma themed. For demo login use `[email protected]el-enso.com` & `password` -
Stars: ✭ 959 (+965.56%)
Mutual labels:  laravel, vuex, vue-router, spa
Vue Soundcloud
🎧 A SoundCloud client built with Vue and Nuxt
Stars: ✭ 141 (+56.67%)
Mutual labels:  vuex, vue-router, spa, single-page-app
Laravel Vue
运用laravel5.4 + vue2.0 + elementui
Stars: ✭ 276 (+206.67%)
Mutual labels:  laravel, vuex, vue-router
Plato
❤️ a Boilerplate for [mobile] SPAs use vue, vuex, vue-router
Stars: ✭ 283 (+214.44%)
Mutual labels:  vuex, vue-router, spa
Vue2 Echo
基于vue2 + vue-router + vuex 构建的一个音乐类单页面应用 —— echo回声
Stars: ✭ 408 (+353.33%)
Mutual labels:  vuex, vue-router, spa
Vue Example Login
🔥A login demo by Vue.js.
Stars: ✭ 651 (+623.33%)
Mutual labels:  vuex, vue-router, spa
Vue2 News
基于vue2 + vue-router + vuex 构建的一个新闻类单页面应用 —— 今日头条(移动端)
Stars: ✭ 462 (+413.33%)
Mutual labels:  vuex, vue-router, spa
Laravel Vuetify Spa
Laravel-Vue SPA starter project template with Vuetify frontend.
Stars: ✭ 73 (-18.89%)
Mutual labels:  laravel, vuex, spa
Laravel-Vue-SPA-template
Template for Single Page Applications built with Laravel and Vue.
Stars: ✭ 22 (-75.56%)
Mutual labels:  spa, single-page-app, vue-router
Roastapp
Laravel学院 Roast 应用源码
Stars: ✭ 164 (+82.22%)
Mutual labels:  laravel, vuex, vue-router
Vue Spa
vue-spa : vue + vue-router + axios + vuex + vux 快速成型移动端项目,直接使用。欢迎star
Stars: ✭ 46 (-48.89%)
Mutual labels:  vuex, vue-router, spa
Laravel Vue Starter
Well Documented Laravel Starter App From Development to Production. For Full Blown RESTFUL API and SPA with Beautiful UI Using Buefy / ElementUi For Reusable Vue Components
Stars: ✭ 76 (-15.56%)
Mutual labels:  laravel, spa, single-page-app
Laravue
Admin dashboard for enterprise Laravel applications built by VueJS and Element UI https://laravue.dev
Stars: ✭ 1,964 (+2082.22%)
Mutual labels:  laravel, vuex, vue-router
Vue Crud
Vue.js based REST-ful CRUD system
Stars: ✭ 629 (+598.89%)
Mutual labels:  vuex, spa, single-page-app
Symfony Vuejs
Source code of the tutorial "Building a single-page application with Symfony 4 and Vue.js"
Stars: ✭ 170 (+88.89%)
Mutual labels:  vuex, vue-router, spa
Mmf Blog Vue2
mmf-blog vue2.0 (vue2, vue-router, vuex)
Stars: ✭ 232 (+157.78%)
Mutual labels:  vuex, vue-router, spa
Spa Starter Kit
A highly opinionated starter kit for building Single Page Applications with Laravel and Vue.js
Stars: ✭ 933 (+936.67%)
Mutual labels:  laravel, spa, single-page-app

Build Status

Laravel 6 & Vue.js 2.6 + Vuex Sample Project

Laravel & Vue Sample Project is a tutorial Single Page Application (SPA) for Laravel 6 and Vue.js 2.6 Frontend

Demo

Use login: [email protected] and password: 123456

Installation

git clone https://github.com/vedmant/running-time.git # To clone repo
cd running-time
composer install # Install php dependencies

# Prepare enviroment variables
cp .env.example .env # Copy configuration file
php artisan key:generate # Generate unique key

# Prepare database
touch database/database.sqlite # Create sqlite database
php artisan migrate --seed # Create DB Schema and seed sample data
php artisan passport:install # Install Passport

# Compile assets
yarn # Install Javascript dependencies
yarn prod # Compile assets

# Start server
php artisan serve # Start server

Open http://localhost:8000 to view site

If you don't have installed yarn, run npm install -g yarn

Main features

  • Fully separate Backend and Frontend
  • Authentication based on Laravel Passport
  • List pages with filters and CRUD editing
  • Backend validation
  • Admin panel
  • Simple widgets
  • Simple reports
  • Full Phpunit test coverage
  • E2E tests with Cypress
  • Continuous integration with Travis CI
  • Development configuration with Docker

Includes

Other Features

  • Front page
  • Authentication (registration, login, logout, throttle)
  • Users roles: administrator (all access), manager (manage records)
  • User dashborad with widgets and charts
  • Entries list with filter by date (list, show, edit, delete, create)
  • Report page with chart
  • User profile page
  • Admin dashboard with widgets
  • Users admin (list, show, edit, delete, create)
  • Entries admin (list, show, edit, delete, create)
  • Global loader overlay for all requests
  • Eslint code standard check
  • Lodash-es to allow tree shaking for bundle size optimization
  • Support IE11 with Polyfills

Development

To run convenient development server with hot reloading:

php artisan serve # Will serve backend on localhost:8000
yarn hot # Will serve frontend on loaclhost:8080 and proxy api requests to localhost:8000

And open http://localhost:8080

Alternatively you can use watch method:

yarn watch

And open http://localhost:8000

To compile assets for production run:

yarn prod

# Or to display bundle analyzer run:
yarn production -- --env.analyzer true

Development with Docker

If you want to use more features like Redis queues, MariaDB database, sending and viewing sent emails you can use Docker setup on this project.

For you you will need Docker installed on your host https://docs.docker.com/install/

To build the image for Docker, run:

docker-compose build

It will build all images and run all needed containers.

Then use ENV variables, prepared specificly for Docker:

cp .env.docker.example .env
docker-compose run php php artisan key:generate

Migrate and seed database, and install Passport:

 docker-compose run php php artisan migrate --seed
 docker-compose run php php artisan passport:install

To run the project in Docker just run:

docker-compose up

And open http://localhost:8080

To run all the Artisan or Test commands you can use docker-compose run php before the command to run it in the container. If you want to run command in currently running container, use docker-compose exec php.

Tests

To run all PHPUnit tests:

./vendor/bin/phpunit 
# Or
yarn test

To run Cypress E2E tests:

php artisan serve
yarn e2e-run
# Or you can open GUI with
yarn e2e

Demo Credentials

For testing application the database is seeded with sample users:

TODO

  • Upgrade Bootstrap to v4
  • Setup Travis to run Cypress tests
  • Add more E2E cypress tests

License

And of course:

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].