DEV Community

Cover image for Datastax - Netflix Clone using Astra DB and GraphQL
Saurabh Malviya
Saurabh Malviya

Posted on

Datastax - Netflix Clone using Astra DB and GraphQL

Recently, I attended a workshop by Datastax team on creating a Netflix clone using Astra DB (cloud-based Cassandra implemented by Datastax) and Graphql api endpoints.

The objectives of the workshop were as follows:
• Deploy a Netflix clone to production
• Learn GraphQL API and how to use it with a database to create the tables and navigate the data.
• Learn about paging and infinite scrolling in web ui
• Leverage Netlify and DataStax Astra DB

I got to learn about how to create an instance in Astra DB, followed by understanding the structure of the database, followed by creating a table and then the entries to the table, the ability to retrieve all or a specific record from the table. We also learn how to import movies dataset using a CSV file.

All CRUD operations were implemented using the GraphQL endpoints leveraging the key obtained from the Astra-db instance.

Netflix ui created was on ReactJS which was deployed using Netlify. The development was done on Gitpod – a cloud based VSCode.

The 2 hour live workshop was instrumental in solidifying understanding about data modeling and how easy the deployments can be proper set of tools and technologies.

Webinar recording - https://www.youtube.com/watch?v=4WmafdS66Xo

Github repo of the workshop - https://github.com/datastaxdevs/appdev-week3-graphql

My Netflix clone is accessible at https://determined-fermi-796bc7.netlify.app/
As an additional exercise, we were asked to add a movie of our choice, and I did add my – 2001 A space Odyssey !!
And the icing on the cake is a badge what you get on successful completion of the assignment.

Few of the other impressive workshops from Datastax team which I have attended are
1) Intro to Cassandra Workshop
2) Building a TodoApp with Javascript Workshop
3) Astra TikTok Clone Workshop
4) Introduction to NoSQL Workshop

Top comments (0)