Movie Classification App

Stack

AWS: EC2 free.... to run the containers.
Docker for containerization easy mode.
MySQL: Stock configuration for Laravel out of the box.
BackEnd Language: PHP -- native web language built for the web.
BackEnd Framework: Laravel -- Great framework for security and basic config already set up.
Packages for BackEnd:

  • Sanctum -- Great API Tokens.
  • PhpUnit -- Testing out application.

FrontEnd Language: Javascript......because web assembly takes forever.
FrontEnd FrameWork: Alpine... Clean, Simple, Javascript Simplifier.
FrontEnd Packages:

  • sweet alerts 2 for some ease of use.

Run me

  1. Make in the root directory a folder called: mysql
  2. change all .env.example to .env (2 places bnoth in root and in src)
  3. docker-compose up -d --build site
  4. docker-compose run --rm artisan install
  5. docker-compose run --rm artisan migrate
  6. docker-compose run --rm npm install
  7. docker-compose run --rm npm run dev
  8. Navigate to http://localhost/
  9. Enjoy

Operational API Documentation:

User Required fields for register:

name - string
email - string
password - string

User Required fields for login:

email - string
password - string


Movie Required fields for Save and Update

title - string
format - string list: "VHS", "DVD", or "Streaming"
length - Int
release_year - Int
rating - Int

Greeting screen:

image

Register screen:

image

Login:

image

Dashboard!

image

Edit/New Pop up:

image

Confirm Message:

image

Delete Confirmation:

image