reelr is a lightweight, dynamic interface for a movie server.
There are a few steps before we can start installing reelr.
-
Clone the project
git clone https://github.com/elklein96/reelr git clone https://github.com/elklein96/reelr-api -
Install some dependencies
cd reelr npm i cd ../reelr-api npm i -
A note on local development:
-
reelr UI was developed using the Angular CLI, and supports all CLI-related goodies.
- The dev server (
webpack-dev-server) is run usingnpm run dev - The prod server (
express) is run usingnpm run build && npm run start
- The dev server (
-
The architecture of reelr depends on the use of a load balancer in front of the UI and API. For local development, use your favorite proxy to serve as a load balancer for the UI (port 3002) and API (port 3001).
- My proxy of choice is HAProxy
- Use the included configuration file for running reelr with HAProxy
-
Make sure to have a MongoDB instance installed and running with the following configuration:
- Database:
media - Collection:
movies
- Database:
-
And that's it! Have fun!