Built with Gatsby, Material UI, Apollo Client, Auth0 and Fauna DB.
Live demo at https://modest-curie-b92a14.netlify.app/
Login with the following credentials:
User: [email protected] Password: Password1!
OPTIONAL: To persist data between shutdowns, set up a volume with:
docker volume create your-volume-nameAdd the following flag to the run command:
-v your-volume-name:/var/lib/faunadb- Run the docker image(assumes docker image is pulled):
docker run --name faunadb -p 8443:8443 -p 8084:8084 fauna/faunadb- With fauna-shell installed, add endpoint with alias localhost and key as secret:
fauna add-endpoint http://localhost:8443/ --alias localhost --key secret- Create database:
fauna create-database recipe_app_dev --endpoint=localhost- Create database key:
fauna create-key recipe_app_dev --endpoint=localhostThis command returns a key for interacting with the database and will need to be recorded in .env files and in the headers of any request.
-
Upload the graphql schema from the REST client.
-
Start development server:
netlify dev