This Web Service is designed to Serve Client Applications with a range of API features. The services included in this app are designed to facilitate the delivery of Movie Review data to any client that is registered on Platform, and manage Profile Data for Users of the platform.
Once you have cloned the repository you should be able to install the application using the following scripts.
-
Install the project:
$ npm install
-
Once dependencies are installed you should run tests to ensure all modules are working properly:
$ npm test
-
To run the project you should be able to use the start script:
$ npm start
Before you can properly run the application you will need to provide access to a running Mongo DB instance. You should configure an environment varible that provides the following information to the application:
MONGODB_URI=mongodb://<YOUR_MONGO_DB_CONNECTION_STRING>
You can create a file titled: .env
at the root of this project repo to provide these values to the application.
The Sick Flicks API requires that every client that wants to access application resources to Register
their application with the platform. Once Registered, the client will be allowed to access data and give Users the ability to access their Profile Data and perform Role based authorized behaviors.
Every Request to the platform requires an API Key to identify the Client Application accessing the Sick Flicks API. Please see the Sick Flicks Client Services documentation for how to allows clients to access keys and manage applications.
How do we obtain Application credentials?
For specific services and service behaviors, the User will be required to Register
and or Log In
to the platform and to obtain or modify information belonging to a specific profile or user.
How do we Obtain Profile credentials?
This Application includes the following services:
-
Allows users to exchange authentication credentials for Profile Data. Once a User has a Profile, they are allowed to perform 1st class functionality like comment creation and participating in Platform curration with likes and dislikes.
-
In order to Login and access a variety of platform features, the
Register
service should be used to grant platform credentials to the client application.These service requires that the client application has obtained an API Key.
-
Movies are catalogued from the MovieDB. The movie service allows clients to request information about a movie and any associated information from TMDB. Certain movie service methods required Profile Authentication.
-
The platform can query and manage Review data created by particular User Profiles.
-
Comments can be created for a given Review and for a given Profile.