Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

cgordon99/developer_test_server

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Back-End Developer Test

Overview

Your client has tasked you with making a RESTful API to support the ultimate Moviegoers Guide suite of applications. They are asking for an API that serves up:

  • A list of movies
    • The user should be able to search the movies by title
    • The user should be able to filter the movies by rating
    • The user should be able to filter the movies by category
  • Movie details for each movie
  • A list of actors in a movie

We have provided a mysql database of movie info for you. We have also provided a starter PHP application using the SLIM framework although you are free to use the language and framework of your choice - Ruby, Node, etc.

Installation

Docker

You will need Docker installed. Here are the instructions to install Docker for (Mac) or (Windows). For older systems that do not meet the docker requirements, use the Docker Toolbox installation instructions.

NOTE if using Docker Toolbox: To verify you may have to use the ip address of the docker machine. In the verify installation section you will want to use the ip address returned by docker-machine ip instead of localhost.

Composer

You will also need to install Composer if you plan to use our starter PHP application. Here are the instructions to install Composer

Launch the test code with the following commands

cd developer_test_server/movies
composer install
cd ../
docker-compose up -d

Verify Installation

In a browser navigate to http://localhost:3000/movies. You should see [] returned from the request.

Note: If you don't see the empty array, run docker-compose logs and wait for all the containers to be fully loaded. Once the containers are completely loaded you should be able to hit the movies endpoint.

Database Connection Information

host: 127.0.0.1
username: sakila
password: sakila
database: sakila
port: 3306

Submitting Your App

When you have completed your app, please post it in a public repository and send us a link - GitHub, GitLab, BitBucket etc.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.