Cassandra Summit is back! Join us in San Jose, CA on March 13-14. Learn more.
Netflix Clone using Astra DB and GraphQL
Let's code a Netflix Clone with GraphQL Pagination!
Signup for DataStax Astra, or login to your already existing account.
Create an Astra DB Database if you don't already have one.
Create an Astra DB Keyspace called
sag_netflixin your database.
Generate an Application Token with the role of
Database Administratorfor the Organization that your Astra DB is in.
Once the app is finished launching in the Gitpod IDE, copy the
env.examplefile to a file named
.envand fill the required values in from your Application Token and Astra DB connection settings.
Start the example by running
npm run devin the Gitpod console.
- 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.