gfu-servant-engineering / tech-connect-frontend

Web platform for connecting the technological needs of front line mission groups with solution providers from churches, like-minded universities, and other mission minded organizations
https://tech-connect.netlify.com/
MIT License
0 stars 0 forks source link

Adding AUTH for gatsby-source-strapi. Updating packages. #81

Closed chris-hammond closed 4 years ago

chris-hammond commented 4 years ago

Just updating packages and adding authentication for gatsby-source-strapi so we we can "secure" our API.

chris-hammond commented 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

RanDumSocks commented 4 years ago

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

chris-hammond commented 4 years ago

@RanDumSocks Do you mean line 39? Is that because it was missing from your .env file?

RanDumSocks commented 4 years ago

@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.