Skip to content

arpanadhikari/mc_sp

Repository files navigation

#Simple Symfony4 Application to manage movie data.

##Questions tackled:

  1. Full Stack MVC Framework. ✔
  2. Get the Stack up and running on local environment. ✔
  3. Create a DB table with simple schema. Include some joins/relationships. ✔
  4. Generate CRUD Controllers from the Entities. ✔
  5. Add a unique controller to demonstrate non-reliance on CRUD default functions. ✔ A unique controller to write a review for the movie from any movie_show page.
  6. Consume an existing API load the DB with movies.✔

###note: To make demonstration simpler, I've focused most of the features on the movie_show page. This page demonstrates most parts of the homework.

Test Scenario:

*Search any movie from the main page. The page will update with search results at the bottom. *Hit Add to DB button for any movie result and wait for "Saved" or "Error" label on the button. *If button shows "Saved", you nowcan goto /movie and view the movie currently added. *The cast, title and release date will be automatically added. *Cast are individual objects so you can click on the casts and view/edit them separately.

Things I'm tackling at the moment.

  • Keep geting 404 error to existing route through AJAX. Route->movie_ajax_add ==> FIXED

Quickest Way to test this app.

**I'm going to add just windows instructions since that's what I worked on. Linux, macOS instructions will be similar except for Composer installation part.

    composer require all

While it's updating packages, open the .env file and enter the local database details. Be sure to launch mysql server from XAMPP-Control Panel.

  • Once composer is done installing packages, run:
    php bin/console doctrine:database:create
    php bin/console make:migration
    php bin/console doctrine:migration:migrate
    php bin/console server:run

from the project folder.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published