Skip to content

DataStax-Examples/astra-netflix

Repository files navigation

Netflix Clone using Astra DB and GraphQL

10 minutes, Beginner, Start Building, View Demo

Let's code a Netflix Clone with GraphQL Pagination!

image

Quick Start

  • Create an Astra DB Keyspace called sag_netflix in your database.
  • Generate an Application Token with the role of Database Administrator for the Organization that your Astra DB is in.
  • Click the 'Open in Gitpod' link: Open in IDE
  • Once the app is finished launching in the Gitpod IDE, copy the env.example file to a file named .env and fill the required values in from your Application Token and Astra DB connection settings.
  • Start the example by running npm run dev in the Gitpod console.

Objectives

  • Build a Netflix clone using GraphQL

How this works

Opening and running the app will populate the database you specify in your .env file with the required data, allowing you to explore the astra-netflix app. You can view a demo of the running app here.

Follow along with Ania's walkthrough video.

Additionally, there is a workshop repository for this sample app located here.