Skip to content

futurestudio/futureflix-starter-kit

Repository files navigation




Your starter kit for the learn hapi learning path.
You’ll implement a real-world app from zero to hero!


Demo · Setup · Hugs



Known Vulnerabilities

Follow @marcuspoehls for Futureflix updates!


learn hapi — Starter Files

This repository contains the Futureflix Starter Kit for the learn hapi learning path.

You’ll implement Futureflix as a sample app while following the tutorials in this hapi (hapi.js) learning path.

The finished project’s implementation is only available for Future Students. If you’re part of the Future Studio University, you’ve access to the code (hosted on GitLab).

Requirements

Node.js v8.x with async/await

This version of Futureflix uses hapi v17. For hapi v16, use a 1.x release

The Futureflix Starter Kit uses hapi v17 and has full async/await support.

Requirements

  • Node.js v8.x or later
  • NPM/Yarn to install the project’s dependencies
  • Vagrant or a MongoDB instance on your machine

Download the Futureflix Starter Kit in version 1.x from this repo’s release page if you want to run it with Node.js v6.x.

Seems doable, huh? 😃

Setup and Run

To run your own Futureflix instance, clone this repository, install the dependencies, start a MongoDB instance in a Vagrant VM or on your own machine.

# clone repository
git clone https://github.com/futurestudio/futureflix-starter-kit.git
cd futureflix-starter-kit

# install dependencies
npm i

# start the Vagrant box
vagrant up

# create your secrets.env file from secrets.env.example
cp secrets.env.sample secrets.env

# import sample data
npm run pumpitup

# start the server
node server.js

# that’s it :)

The starter kit doesn’t contain any logging. If you don’t see any errors while starting the server.js, visit localhost:3000. Have fun!

Getting Help

At this point, there’s no Slack channel or support group. If you need help with your implementation, please email us or send a tweet @futurestud_io. We’re active on emails and reply as soon as possible.

At this point, there’s no Slack channel or support group. If you need help with your implementation, please email us. We’re active on emails and reply as soon as possible.

Sending Pull Requests

In case you found a different way to implement a feature, we’re happy to hear about it! Within the videos we’re using the code of this repository and want to keep it as close as possible.

Error fixes and additional explanations are always welcome. If you find something, we absolutely appreciate your pull request.

Make it rock!

Thank You with a Hug!

It’s great to see you exploring this repository. Really! Dig through the code and hopefully you’ll take wins away ❤️

Sample data from trakt.tv

Movie and TV show sample data for Futureflix comes from trakt.tv. Track your progress on watched movies and shows, never forget where you left off a week ago! Trakt is a nice platform with dozens of apps for any client. We’re not payed to say that 😅

License

MIT © Future Studio


futurestud.io  ·  GitHub @futurestudio  ·  Twitter @futurestud_io