Skip to content

Securing API via third party authentication. using Auth0

Notifications You must be signed in to change notification settings

younesaitmha/coffee-shop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

coffee-shop

Full Stack Nano - IAM Final Project

Udacity has decided to open a new digitally enabled cafe for students to order drinks, socialize, and study hard. But they need help setting up their menu experience.

I have been called on to demonstrate my newly learned skills to create a full stack drink menu application. The application must:

  1. Display graphics representing the ratios of ingredients in each drink.
  2. Allow public users to view drink names and graphics.
  3. Allow the shop baristas to see the recipe information.
  4. Allow the shop managers to create new drinks and edit existing drinks.

What I built?

i'm trying to demonstrate my newly learned skills to create a full stack drink menu application. The application must:

  • Display graphics representing the ratios of ingredients in each drink.
  • Allow public users to view drink names and graphics.
  • Allow the shop baristas to see the recipe information.
  • Allow the shop managers to create new drinks and edit existing drinks.

also this project will give me a hands-on chance to practice and demonstrate what I've learned, such as:

  • Implementing authentication and authorization in Flask
  • Designing against key security principals
  • Implementing role-based control design patterns
  • Securing a REST API
  • Applying software system risk and compliance principles

Tasks

There are @TODO comments throughout the project. We recommend tackling the sections in order. Start by reading the READMEs in:

  1. ./backend/
  2. ./frontend/

About the Stack

We started the full stack application for you. It is designed with some key functional areas:

Backend

The ./backend directory contains a partially completed Flask server with a pre-written SQLAlchemy module to simplify your data needs. You will need to complete the required endpoints, configure, and integrate Auth0 for authentication.

View the README.md within ./backend for more details.

Frontend

The ./frontend directory contains a complete Ionic frontend to consume the data from the Flask server. You will only need to update the environment variables found within (./frontend/src/environment/environment.ts) to reflect the Auth0 configuration details set up for the backend app.

View the README.md within ./frontend for more details.