10 minutes, Beginner, Start Building, View Demo
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_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:
- 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.
- Build a Netflix clone using GraphQL
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.