Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chaban/apiato-vue
A demo web application written in laravel(apiato) and vuejs(element-ui)
https://github.com/chaban/apiato-vue
api apiato docker element-ui laradock laravel oauth2 vue
Last synced: 3 months ago
JSON representation
A demo web application written in laravel(apiato) and vuejs(element-ui)
- Host: GitHub
- URL: https://github.com/chaban/apiato-vue
- Owner: chaban
- Created: 2018-02-22T16:46:49.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-19T08:21:58.000Z (over 5 years ago)
- Last Synced: 2024-06-27T04:33:40.576Z (4 months ago)
- Topics: api, apiato, docker, element-ui, laradock, laravel, oauth2, vue
- Language: PHP
- Homepage:
- Size: 579 KB
- Stars: 17
- Watchers: 4
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# apiato-vue
A demo web application written in laravel(apiato) and vuejs(element-ui)## How to install with Docker
* Install docker & docker-compose
* In laradoc/.env fill DOCKER_HOST_IP="Your docker ip address"
* Copy api/.env.example to api/.env
* In laradoc/.env fill REDIS_HOST and DB_HOST="Your docker ip address"
* In docker command line go to ./laradock and type "docker-compose up -d --build"
* Go in workspace container with command "docker exec -it workspace_ /bin/bash",
and run "composer install". Then type "php artisan migrate:refresh --seed" to create and seed tables in database
* Create oauth2 client for application with command "php artisan passport:client --password",
on artisan question type "admin". Add the received data to the file api/.env(CLIENT_WEB_ADMIN_ID,
CLIENT_WEB_ADMIN_SECRET) and "exit" from workspace_ container.
* Go to directory ./vueAdmin and install npm packages with "npm install".
After installation type "npm run dev". Browser starts automatically with working application.