Building the Backend of OnlyFans with AWS Amplify: A Step-by-Step Guide
Вставка
- Опубліковано 6 кві 2023
- In this video, we will dive into the backend of the OnlyFans application and explore how to use AWS Amplify to build a secure, scalable, and reliable infrastructure. We will cover a range of features, including authentication, database and API development, and storage for images.
🧠 Enroll now in our FREE 2-day masterclass and start building a full stack app today!
Don't miss out on this limited-time offer to try our notJust Academy!
assets.notjust.dev/masterclass
This build includes a lot of tools & technologies, and it's a great opportunity to learn how to:
- Build a secure authentication system with AWS Amplify.
- Create a scalable and reliable database for your subscription-based app.
- Store images efficiently with AWS Amplify storage.
- Understand backend development principles.
- Get started with AWS Amplify
- Build a robust backend infrastructure.
💻 Get the Asset Bundle here: assets.notjust.dev/onlyfans
⌨️ Get the source code here: github.com/notJust-dev/OnlyFans
📚 Enroll NOW in The Full-Stack Mobile Developer course and don’t miss out on your chance to become a 6-figure dev in 2023! Check out what our successful students are saying about their experience:
academy.notjust.dev
💬 Join the notJust Development gang and let's build together:
Twitter: / vadimnotjustdev
Instagram: / vadimnotjustdev
Facebook: / notjustdev
LinkedIn: / vadimsavin
Discord: / discord
Timecodes:
Disclaimer: This build is for educational purposes only. All views, opinions, and technology choices expressed in this video are my own and do not represent the views, opinions, or technology choices of any entity whatsoever with which I have been, am now, or will be affiliated.
#notjustdev #aws #backend - Наука та технологія
📚 Enroll NOW in The Full-Stack Mobile Developer course and don’t miss out on your chance to become a 6-figure dev in 2023! Check out what our successful students are saying about their experience:
academy.notjust.dev
Thanks so much, Vadim for these thorough videos. I'm learning a lot!
Vadim I am really enjoying fridays live builds. I always code along and have been learning so much from you. If possible I would love to see a HelloTalk or Tandem like app next.
this was an amazing tutorial, thank you. Maybe you can add to it later how to implement the payment wall in RN and in AWS Amplify it would be great. Cheers from Dubai
Didn't you consider using AWS Amplify for the front-end too? I'm researching it mainly for the client code generation from figma prototypes
Thank you so much for these amazing videos 😍
Hey Vadim great Video. I have just couple questions. Why does the post object not have the user? You set in the backend a relation. So would accept that in the post object I get the user object too. And how to update a record? And how subscriptions work in DataStore? How to add a subscription? In the backend? Thanks in advance. And again great Video.
thank you
Thoughts on using python for the backend with Amplify?
in firebase we have
in which you just need to uri of image rather then blob we do here, can we use same for aws just pass uri rather then converting whole video into the blob and then sent it to amplify aws s3 ?
plus fetch is not working for android for getting local image instance
Hey Vadim,
First of all, great Job! I love your channel.
I'm getting this error from the GraphQL:
{
"data": null,
"errors": [
{
"path": null,
"locations": [
{
"line": 1,
"column": 21,
"sourceName": null
}
],
"message": "Variable 'input' has coerced Null value for NonNull type 'ID!'"
}
]
}
I've tried to change the ID into a number, then copy pasted an ID, but it still thinks that the value is null.
Do you have any idea what can it be?
Also i'd love to sign up to your Full-Stack Mobile Developer course, do you have any course where i can build my own app?
Hi @notjustdev, Thank you for putting these together. I have never used datastore, I generally just used the queries and mutations that codegen provides. Studio has some restriction but it is pretty slick. The one thing I could not figure out from the video is how you got your mutation syntax. when I click create mutation I get something different. Was this pregenerated some how or did you just know the syntax?
Your Mutation:
mutation createUser($input: CreateUserInput!) {
createUser(input: $input ){
id
name
handle
bio
subscriptionPrice
}
}
What appears when I click createUser mutation:
mutation MyMutation {
createUser(
input: {id: "", name: "", bio: "", subscriptionPrice: 1.5, handle: ""}
) {
id
name
bio
subscriptionPrice
handle
}
}
As an aside, I kept getting an error related to trying to create the Id and had to add a different association filed that I called cognitoId
type User @model @auth(rules: [{allow: public}]) {
id: ID!
cognitoId: ID @index(name: "byCognitoId", queryField: "userByCognitoID")
name: String
handle: String
coverImage: String
avatarImage: String
bio: String
subscriptionPrice: Float
Posts: [Post] @hasMany(indexName: "byUser", fields: ["id"])
}
What's the URL for the commands again, I"m actually not seeing it in the description
Hello, is this for expo or for CLI?
when get to the backend, I find out I dont know where to write the function. why the function belong to this file.
sir please use free thinks like don't use Amazon for all videos and up coming because we are student not afford the Amazon please upload with free resources please 🙏
amazon has an extensive free tier
Hello, I hope you are well.
Today in your video, at minute 51:58 an error occurred and you fixed it added import 'core-js/full/symbol/async-iterator', I had days trying to fix that same error in your Uber Eats video.
Now in the dishes query another error appears:
Error retrieving messages [TypeError: Object is not a function]
in the query:
DataStore.query(Dish, (dish) => dish.restaurantID("eq", id)).then(
setDishes
);
Can you help?
I think something is missing from the core-js but I don't know what it is.
Greetings from Venezuela
i also have the same issue
Did you guys already fix this error, I have the same error
Cognito gives me headaches
No step by step on the website