- Run
npx degit grafbase/grafbase/examples/solid grafbase-with-solid
to clone this example - Deploy schema to Grafbase
- Change directory into the new folder
cd grafbase-with-solid
- Run
cp .env.example .env
to copy the example.env.example
file to.env
- Open
.env
in your code editor, and provide your Grafbase API endpoint and API key - Run
npm install
, oryarn install
to install dependencies - Run
npm run graphql
, oryarn graphql
to generate types from Schema - Run
vercel dev
and visit http://localhost:3000
To learn more about Grafbase, take a look at the following resources:
- Grafbase - learn about Grafbase features and API.
To learn more about Solid, take a look at the following resources:
- Solid Documentation - learn about Solid features and API.