Activity: Creating a Serverless Backend and Frontend for User Management

Prerequisites

The function from the previous activity.

Aim

Create a serverless backend and frontend for user management.

Scenario

Allowing your application to be used by multiple users, rather than just you.

Steps for Completion

  1. Create a collection in the Cosmos DB to store your users. Alter your function so that it writes users to this collection.
  2. Add a function to retrieve all of your users.
  3. Add a screen to see all of the users of your application, and to create new users.

Outcome

Screen to store and manage users of the application.

Refer to the complete code placed at Code/Serverless-Architectureswith-Azure/Lesson3/
BeginningAzureServerlessArchitecture/Models/.

Before the transactions have taken place:

User.cs: https://goo.gl/1C9PNt to access the code.

GetUsers.cs: https://goo.gl/oRH2WM to access the code.

After the transactions have taken place:

PostUsers.cs: https://goo.gl/JTh2Fc to access the code.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.137.212.212