https://github.com/renzocarara/kuoz
exercise: implement CRUD operations on a DB of quotes through Laravel and Vue
https://github.com/renzocarara/kuoz
api laravel postgresql vuejs vuetify
Last synced: 4 months ago
JSON representation
exercise: implement CRUD operations on a DB of quotes through Laravel and Vue
- Host: GitHub
- URL: https://github.com/renzocarara/kuoz
- Owner: renzocarara
- License: mit
- Created: 2021-01-07T21:32:00.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-21T10:01:13.000Z (over 4 years ago)
- Last Synced: 2025-01-11T15:18:16.997Z (5 months ago)
- Topics: api, laravel, postgresql, vuejs, vuetify
- Language: PHP
- Homepage: https://kuoz.herokuapp.com/
- Size: 3.26 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Kuoz
# Overview
This app is an exercise to experiment how Laravel Backend can communicate with Vue Frontend.
Vue makes axios calls to Laravel APIs that implement CRUD operations on a SQL Data Base (a PostgreSQL DB in this case).
# How to install it locally
### Download sources
From this page, click on the "Code" green button and select **Download ZIP**.\
Unzip the downloaded file and from your command line move into the created directory where files
has been placed.### Set Data Base parameters
Copy the **".env.example"** in a file named **".env"**
```
cp .env.example .env
```Edit the .env file and insert the following information:
> DB_DATABASE=your_db_name
> DB_USERNAME=your_username
> DB_PASSWORD=your_passwordNOTE: you should have been created a postgres DB before.
### Get Node Dependencies and compile
Run the following command to install all needed dependencies:
```
npm install
```then compile:
```
npm run dev
```### Get Composer dependencies
```
composer update
```### Generate a Laravel key
```
php artisan key:generate
```# Run application
```
php artisan serve
```You should see indications about the localhost name where the application is running,
something like the following:> Starting Laravel development server: http://127.0.0.1:8000 > [Wed Jan 20 10:26:12 2021] PHP 7.4.3 Development Server (http://127.0.0.1:8000) started
Open the indicated local address in your browser.
# License
Kuoz is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).