Closed chris-hammond closed 4 years ago
Once you have strapi running locally, (See https://github.com/gfu-servant-engineering/tech-connect-backend/pull/11) change the strapi hostname in your .env.development file to localhost:1337 then run the following commands:
yarn install
yarn develop
In order for me to get this to work locally, I had to comment out the password identifier for the gastby-source-strapi
plugin in gatsby-config.js
@RanDumSocks Do you mean line 39? Is that because it was missing from your .env file?
@chris-hammond yea line 39, my .env file was set up fine. I couldn't tell ya why having the credentials failed and leaving them blank worked.
Just updating packages and adding authentication for gatsby-source-strapi so we we can "secure" our API.