Reader small image

You're reading from  Rapid Application Development with AWS Amplify

Product typeBook
Published inJul 2021
Reading LevelIntermediate
PublisherPackt
ISBN-139781800207233
Edition1st Edition
Languages
Concepts
Right arrow
Author (1)
Adrian Leung
Adrian Leung
author image
Adrian Leung

Adrian Leung is a full-stack cloud native engineer and Agile Transformation Coach with a deep understanding of Business and Organisational Agilities. His background has led him to coach many enterprises in digital transformation with Design Thinking and Agile as well as enterprise scalable cloud-native solution architectures to deliver real value to their customers. Adrian earned a degree in Applied Information Technology from The University of Newcastle, Australia in 2007. His work history includes helping many enterprises in Hong Kong with their digital transformation journey. He is currently the Founder of Adventvr that is building amazing products and espousing the benefits of serverless systems whenever he has the chance.
Read more about Adrian Leung

Right arrow

Sharing an image with text as a blog post with ReactJS

In this section, we will create a blog post with the code that we created in the previous section. Imagine that someone who has visited your website has signed up and logged in as a user and then thinks of something worth sharing. To do this, they must create a blog post. In this section, we will show you how the user will pick an image and then add a title and content, as well as click the Create button to ensure the functionalities are working perfectly. Let's get started:

  1. First, let's call the yarn start command in a Terminal to run the app. Try to create a new post by uploading a photo, fill in the title and content fields, and then click the Create button:

    Figure 6.1 – Uploading a photo during post creation

  2. You should be able to scroll down to the bottom of the page to check out the newly created post, as shown here:

Figure 6.2 – Newly created post with an image

...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Rapid Application Development with AWS Amplify
Published in: Jul 2021Publisher: PacktISBN-13: 9781800207233

Author (1)

author image
Adrian Leung

Adrian Leung is a full-stack cloud native engineer and Agile Transformation Coach with a deep understanding of Business and Organisational Agilities. His background has led him to coach many enterprises in digital transformation with Design Thinking and Agile as well as enterprise scalable cloud-native solution architectures to deliver real value to their customers. Adrian earned a degree in Applied Information Technology from The University of Newcastle, Australia in 2007. His work history includes helping many enterprises in Hong Kong with their digital transformation journey. He is currently the Founder of Adventvr that is building amazing products and espousing the benefits of serverless systems whenever he has the chance.
Read more about Adrian Leung