
To be able to deploy the code from our computer to our AWS account we need to do some setup. We can then install serverless onto our computer and add the credentials of the user to our serverless system.
npm install -g serverless
serverless config credentials --provider aws --key YOUR_AWS_KEY --secret YOUR_AWS_SECRET --profile serverlessUser
In this video we're going to create and deploy our first project. We're going to use a serverless command to generate a project template for us and then we're going to deploy it and see the created function in our AWS account.
serverless create --template aws-nodejs --path myServerlessProject
sls deploy
Who is this course for?
If you're a front-end or junior developer who wants to take the next step in your career then this is the course for you.
By the end of this course you will have:
Set up your AWS Account
Created your own project with Serverless
Deployed two API endpoints
Deployed a Database to store your data
With this you'll be well on you way to becoming a full stack developer.
Requirements
Basic writing JavaScript
NodeJS installed on your computer