Learn Serverless and AWS whilst building a Full-Stack App with React

Skillshare Learn Serverless and AWS whilst building a Full-Stack App with React 10/2020

[SkillShare] Learn Serverless and AWS whilst building a Full-Stack App with React​



[SkillShare] Learn Serverless and AWS whilst building a Full-Stack App with React

Course Description​


By the end of this course, you will know how you can create and deploy an API utilizing AWS and Serverless, create a React app and hook the 2 collectively.

This class challenge, please customise your App and ship in a screenshot. You can change the Emblem, the title, add extra styling or the rest. I like to see what you are able to do with this challenge.

If you wish to take this one step additional you possibly can add further performance to your app and API

To apply this I would like you to create a brand new API endpoint that means that you can ship an SMS message. You possibly can then add a brand new area to your app which is "vacation spot cellular quantity". In the event that they enter a cellular quantity with nation code, hit the "sendSMS" API endpoint, in the event that they enter an e-mail, hit the "sendEmail" endpoint (like we did within the course)

Here's a little little bit of code that will help you ship an SMS out of your API. You will still must arrange the remainder of the API and add it to your serverless.yml file.

Code:
const AWS = require('aws-sdk');
const sns = new AWS.SNS();
const params = { Message: 'TEXT_MESSAGE', PhoneNumber: 'E.164_PHONE_NUMBER' };
await sns.publish(params).promise();
Author
PIRATE
Downloads
4
Views
28
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from PIRATE

AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock