New Survey: Leveraging real-time data delivers higher revenue growth and increased developer productivity. Learn more.
NextJS Fullstack Tutorial
30 minutes, Advanced, Start Building
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_nextjs_fullstackin 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.
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 NextJS tutorial app.