yael1019 / 022023-ph4-auth

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flask Authentication

Learning Goals

  • Use the session object to authenticate a user

  • Securely store the password in a hash

  • Use the session object to determine when a user is logged in

  • Authorize only certain resources depending on whether a user is logged in

Getting Started

Fork / clone the repo and run

pipenv install

To start the client, create a separate terminal and run:

npm install --prefix client
npm start --prefix client

To start the server:

pipenv shell
cd server
flask db upgrade
flask run --debug

About


Languages

Language:Python 55.9%Language:JavaScript 24.4%Language:HTML 12.9%Language:Mako 3.7%Language:CSS 3.0%