An open API service indexing awesome lists of open source software.

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.

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.