https://github.com/scotch-io/meme-machine-api
The Laravel API used for scotch.io books.
https://github.com/scotch-io/meme-machine-api
Last synced: about 1 month ago
JSON representation
The Laravel API used for scotch.io books.
- Host: GitHub
- URL: https://github.com/scotch-io/meme-machine-api
- Owner: scotch-io
- Created: 2019-01-27T21:15:55.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-14T00:24:17.000Z (over 2 years ago)
- Last Synced: 2025-03-26T17:47:33.838Z (about 2 months ago)
- Language: PHP
- Size: 3.74 MB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 24
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Meme Machine API
The API used in the Vue for the Real World Book.
## Developing
We won't be using Vagrant for this app thank god. We'll be using PHP's local server to serve the app and SQLite (file) as our database.
- Create a database file: `touch database/database.sqlite`
- Install Composer Packages: `composer install`
- Install JS Packages: `npm install`
- Copy `.env.example` to `.env`
- Create an APP_SECRET: `php artisan key:generate`
- Create a JWT_SECRET: `php artisan jwt:secret`
- Migrate: `php artisan migrate`
- Run the App: `php artisan serve`
- View App:## Using for Frontend Users
Users will create an account here.
They will then be sent to the dashboard which is just API docs.
They will authenticate and get a token through Vue.