Skip to content

scotch-io/meme-machine-api

Repository files navigation

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: http://localhost:8000

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.

About

The Laravel API used for scotch.io books.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published