Week 6 - Mini Project Assignment 1
Week 6 - Mini Project Assignment 1
Objective
In this mini project, students will create a serverless API using Azure Functions and automate
its deployment using Azure DevOps. The project will help students understand how to build
serverless applications and implement continuous integration and continuous deployment
(CI/CD) pipelines.
Project Overview
Prerequisites
Step-by-Step Instructions
trigger:
branches:
include:
- main
pool:
vmImage: 'ubuntu-latest'
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.x'
addToPath: true
- checkout: self
- task: AzureFunctionApp@1
inputs:
azureSubscription: 'Your Azure Subscription'
appType: 'functionApp'
appName: 'Your Function App Name'
package: '$(System.DefaultWorkingDirectory)/**/*.zip'
Deliverables
1. Source Code: The complete source code of your Azure Function project in the Git
repository.
2. Pipeline Configuration: The azure-pipelines.yml file in the repository.
3. Documentation: A brief report explaining the steps taken, issues faced, and how they
were resolved.
Grading Criteria
Correctness: The function performs as expected and returns the correct response.
Pipeline Configuration: The CI/CD pipeline is correctly set up and functional.
Documentation: Clear and comprehensive documentation of the process.
Code Quality: Code is clean, well-commented, and follows best practices.