This project was built to demo how to use a GraphQL API with Serverless Functions.
β
Register (if needed) and Sign In to Astra https://astra.datastax.com: You can use your Github
, Google
accounts or register with an email
.
β Create an ASTRA_TOKEN and add data to your project as per the tutorial.
β
Create .env
file
ENDPOINT={ your_endpoint }
ASTRA_TOKEN={ your_token }
π©βπ» Install all the packages
npm install
π©βπ» Inject all the secret variables and run the project using
netlify dev
note: (make sure you have installed the netlify command line interface. You can do so by running: npm install netlify-cli -g
)