Skip to content

khaloodi/peewee

Repository files navigation

Peewee

This directory contains the following Python apps:

  • app.py
  • diary.py
  • students.py

Motivation

Work with Flask and an ORM in Python to practice CRUD — storing, retrieving, updating and deleting information.

Installing

Simply activate the virtual environment which contains the associated packages (Flask, wtform, bcrypt) Run the following command in terminal while in main directory:

source ./bin/activate

App

A social media application built with Flask. Contains a login and registration page. Users are stored in a local SQLite database. Password verification and form validation are enforced as well.

Routes:
- '/' index
- '/login' login page
- '/register' registration page

Diary

This is a fun terminal application that allows a user to create and store notes in a database. Again I am using a local SQLite database for storage. A user can also delete and view notes that are stored in the database one by one.

Students

A minimal Flask application that creates a local Students database and associated Student table. The table is populated with 5 student users and logs out the top performing student to the console.

Built With

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published