https://github.com/thewisenoob/laravel-jwt-quotation-app
https://github.com/thewisenoob/laravel-jwt-quotation-app
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/thewisenoob/laravel-jwt-quotation-app
- Owner: TheWiseNoob
- Created: 2021-06-24T02:51:18.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-06-24T05:31:50.000Z (almost 4 years ago)
- Last Synced: 2024-12-25T05:49:29.775Z (5 months ago)
- Language: PHP
- Size: 9.12 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# About Laravel JWT Quotation App
Laravel JWT Quotation App is a Laravel-based web app serving as D.J. Griffin's submission to Battleface.net's Coding Challenge. This web app uses a combination of Laravel's authentication system and [jwt-auth](https://github.com/tymondesigns/jwt-auth) for user authentication. jwt-auth is a JWT authentication library used to replace the default authentication guard with a JWT-based one. Please follow the steps below to get it working.
# Use Instructions
## Create Datebase
- Create a database in your local database web server. I named mine 'laravel_jwt_app'.
- If you chose a name other than 'laravel_jwt_app', replace it in the .env file at DB_DATABASE.
- Enter your database username and password at DB_USERNAME and DB_PASSWORD in .env.## Create Tables & Seed Database
Run the command `php artisan migrate:fresh --seed` to create the needed tables and seed the database with a new user.
## Setup Server
- Add the code to your existing local web server setup or use `php artisan serve`.
- If using `php artisan serve`, go to http://127.0.0.1:8000.## Login
Login using the email `[email protected]` and the password `A^r+K<:jeRU*BH\Y4S?W`. These credentials were present in .env when seeding the database.

## Use App
Use the quotation web app the way required. :smiley:
