Comments (2)
Hey!
I've just updated the repo to change the way we set up the AWS S3 package, so first make sure you have those changes.
Firstly, you'll need to make sure you have an AWS account and create an S3 bucket for your project.
You'll then need to generate an access token + access secret key, in the AWS security credentials section.
Then add these to your .env file in the API package:
AWS_S3_BUCKET=<your-s3-bucket-name>
AWS_ACCESS_KEY_ID=<your-access-key>
AWS_SECRET_ACCESS_KEY=<your-secret-access-key>
There are a few things you need to do to get the S3 bucket to accept uploads and requests:
In your S3 bucket's permissions tab, make sure the "block all public access" is off.
In the "Cross-origin resource sharing (CORS)" section, copy this in:
[
{
"AllowedHeaders": [
"*"
],
"AllowedMethods": [
"GET",
"PUT",
"POST"
],
"AllowedOrigins": [
"*"
],
"ExposeHeaders": []
}
]
from boilerplate-graphql.
It's now ok, Thank you very much @JClackett
from boilerplate-graphql.
Related Issues (20)
- Are there any plans on porting this from react-apollo-hooks to the standardized apollo client hooks implementation? HOT 2
- Forgot password - missing padding HOT 2
- Not generating fields on Prisma Relations HOT 5
- Dependency Dashboard
- Mailer in development HOT 6
- Husky config HOT 1
- Cors configuration HOT 3
- yarn install failed to run prisma generate HOT 5
- Apollo SSR: Absolute URL Error HOT 1
- Authentication token in Apollo Studio Explorer HOT 1
- redirect on login success
- Logically email updating should not be allowed. HOT 1
- I have try to add Todo module, but error HOT 2
- Getting Empty `resolvers` when I run Yarn dev
- Suggestion: ormconfig.json production entity/migration glob patterns may need improvement HOT 2
- Missing page to handle self generated reset-password link HOT 1
- [Question] Custom Errors by extending ApolloError
- Empty .env.example HOT 1
- seed.ts file is missed HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from boilerplate-graphql.