Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thecodingmachine/symfony-vuejs
Source code of the tutorial "Building a single-page application with Symfony 4 and Vue.js"
https://github.com/thecodingmachine/symfony-vuejs
authentication axios single-page-applications spa store symfony vue vue-router vue-store vuejs vuex
Last synced: 5 days ago
JSON representation
Source code of the tutorial "Building a single-page application with Symfony 4 and Vue.js"
- Host: GitHub
- URL: https://github.com/thecodingmachine/symfony-vuejs
- Owner: thecodingmachine
- License: mit
- Created: 2018-08-10T09:11:10.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-06-06T01:39:39.000Z (over 1 year ago)
- Last Synced: 2023-11-07T20:17:02.420Z (about 1 year ago)
- Topics: authentication, axios, single-page-applications, spa, store, symfony, vue, vue-router, vue-store, vuejs, vuex
- Language: PHP
- Homepage: https://thecodingmachine.io/building-a-single-page-application-with-symfony-4-and-vuejs
- Size: 2.91 MB
- Stars: 178
- Watchers: 26
- Forks: 51
- Open Issues: 35
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
**A new version with Symfony + GraphQL + Nuxt.js is available here:** https://github.com/thecodingmachine/symfony-boilerplate
---
Source code of the tutorial [thecodingmachine.io/building-a-single-page-application-with-symfony-4-and-vuejs](https://thecodingmachine.io/building-a-single-page-application-with-symfony-4-and-vuejs).
# Quick start
If you want to try out the project just follow those steps:
```bash
$ cp .env.template .env
$ docker-compose up -d
$ docker-compose exec app bash # executing bash inside app service
$ composer install
$ yarn install
$ yarn dev
$ php bin/console doctrine:migration:migrate
$ php bin/console doctrine:fixtures:load
```On MacOS, also update your `/etc/hosts` file with:
```
127.0.0.1 app.localhost
127.0.0.1 phpmyadmin.app.localhost
```You may now go to [http://app.localhost/](http://app.localhost/) and
login using the following credentials:Login: `foo`
Password: `bar`