Starter kit for the “learn hapi” learning path
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
data fix data loader due to project structure update; add watchlist model … Jan 18, 2018
models use up-to-date mongoose settings Dec 20, 2018
public no arrow function when using arguments Dec 20, 2018
test/getting-started add timeout test Feb 28, 2018
utils refactor mailer method to prepare the template Feb 22, 2018
web update project structure Jan 16, 2018
.eslintrc.json update eslint extends Dec 4, 2017
.travis.yml remove ENV from .travis.yml Dec 28, 2017 update changelog Feb 22, 2018
LICENSE Initial commit Sep 4, 2017 Update Mar 13, 2018
Vagrantfile add quotes to private IP in vagrantfile Dec 14, 2017
package.json bump deps Dec 20, 2018
secrets.env.sample add trakt client id and secret to secrets sample Sep 14, 2017
server.js update project structure Jan 16, 2018

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).


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.


  • 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
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

Movie and TV show sample data for Futureflix comes from 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 😅


MIT © Future Studio  ·  GitHub @fs-opensource  ·  Twitter @futurestud_io