Coder Social home page Coder Social logo

schildner / azure-cloud-developer-nanodegree-project1 Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 3.96 MB

Project 1 submission for the Udacity nanodegree course "Cloud Developer". It demonstrates the knowledge of Storage types (Blob and SQL Database) and Azure Active Directory techniques in a simple Content Management System.

HCL 11.47% Python 35.69% CSS 1.91% JavaScript 29.96% HTML 17.86% Shell 2.16% Makefile 0.94%
python azure-active-directory azure-sql-database azure-blob-storage flask

azure-cloud-developer-nanodegree-project1's Introduction

Article CMS (FlaskWebProject)

This project is a Python web application built using Flask.

The user can log in and out and create/edit articles which onsist of title, author, body of text stored in an Azure SQL Server and an image stored in Azure Blob Storage.

Also implemented is an OAuth2 with "Sign in with Microsoft" button using the msal library and app logging.

Project Instructions (For Student)

You are expected to do the following to complete this project

Task Done Description
1. Create a Resource Group in Azure.
2. Create an SQL Database in Azure.
3. Create a Storage Container in Azure for images to be stored in a container.
4. Add functionality to the Sign In With Microsoft button.
5. Choose to use either a VM or App Service and provide an analysis comparing the two options.
6. Add logging for whether users successfully or unsuccessfully logged in.
7. Prove that the application is on Azure and working by providing screenshots.
8. Provide a screenshot including all of the resources created to complete this project.
9. Take a screenshot of the Redirect URIs entered for your registered app, related to the MS Login button.
10. Take a screenshot of your logs (can be from the Log stream in Azure) showing logging from an attempt to sign in with an invalid login, as well as a valid login.

Detailed instructions

2 SQL Database

  • Contains a user table, an article table, and data in each table (populated with the scripts provided in the SQL Scripts folder).

3 Storage Container

  • Provide a screenshot of the storage endpoint URL as detailed further below.
  • Provide a screenshot of the populated tables as detailed further below.

4 Sign in with Microsoft Button

  • This will require completing TODOs in views.py with the msal library, along with appropriate registration in Azure Active Directory.

5 Complete the analysis template in WRITEUP.md as well as detail your reasoning behind choosing one or the other. Once you have made your choice, go through with deployment.

6 Add Logging

  • This will require completing TODOs in init.py, as well as adding logging where desired in views.py.

7 Prove the application is working

  • Go to the URL of your deployed app, log in using the credentials in this README, click the Create button, and create an article with the following data:

    • Title: "Hello World!"
    • Author: "Jane Doe"
    • Body: "My name is Jane Doe and this is my first article!"
    • Upload an image of your choice. Must be either a .png or .jpg.

    After saving, click back on the article you created and provide a screenshot proving that it was created successfully. Please also make sure the URL is present in the screenshot.

azure-cloud-developer-nanodegree-project1's People

Contributors

schildner avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

duyliken3

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.