Upgrade to Pro — share decks privately, control downloads, hide ads and more …

CS329E- Tutorial Extra credit presentation

Avatar for musty-j musty-j
May 01, 2019
21

CS329E- Tutorial Extra credit presentation

This presentation is on the tutorial for creating user log-in/authentication system using flask extensions/libraries

Avatar for musty-j

musty-j

May 01, 2019

Transcript

  1. User Authentication for Web Applications Using Flask (Group 20): Mustapha

    Jolaade (moj225), Sommer Chavez (ssc2364), Miguel Arriaga (maa5798), Jose Rosales (jer3874)
  2. Overview Goal: To create a user-login/authentication system Tools: Flask Login,

    Flask SQLAlchemy, Flask Bootstrap and Flask-WTForms (a library extension that handles form input management) The user-login system will consist of 4 sections: ▪ 1. Index page: The home page ▪ 2. Dashboard: The home page after logging in (personalized index page) ▪ 3. Login/out form: form for already existing users ▪ 4. Sign up form: form for new users 2
  3. Task: 3 categories with 11 total steps Writing Main Application

    Database Management Page-to-form Conversion 3 1. Initialize Flask and Flask Bootstrap. 2. Include routes and templates for pages/sections 1. Import Flask form libraries 2. Create class for forms 3. Testing/validation 4. Repeat for every form 1. Bring database into life 2. Allow sign up 3. Allow login 4. Import Flask login manager 5. Add logout route